Find Circumference Of Circle (const keyword)


Find Circumference Of Circle (const keyword) 

/* Author --> HARSH PATEL */
#include<stdio.h>
int main()
{
    float r = 5;
    float pi = 3.14;
    float C = 2*pi*r;

    printf("Cirumference of Circle = %f",C);
}


output

Cirumference of Circle = 31.400002

 
•now the program ends without any error.


Popular posts from this blog

C Program To Print Hello World

Declare And Initialize Two Character Constants And Output It To User

C Program To Calculate Profit Or Loss