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;
}
#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
Post a Comment