Calculate the radious of a circle in c

 #include<stdio.h>

int main()

{

int radious;

float pi = 3.14;

printf("Enter the value of radious\n");

scanf("%d", &radious);

printf("The radious of thr circle is %f\n", radious*radious*pi);

return 0;

}

Comments

Popular posts from this blog

Make a number game in C

Reverse printing in c

structure formate in c