Computer Science, asked by yugansverma12, 3 months ago

Please write a c program for calculating area of a circle using two functions.​

Answers

Answered by jayanid78
1

Answer:

#include < stdio.h >  

#include < conio.h > #define PI 3.141  

int main()  

{  

   float radius, area;  

   printf("Enter radius of circle\n");  

   scanf("%f", & radius);  

   area = PI * radius * radius;  

   printf("Area of circle : %0.4f\n", area);  

   getch();  

   return 0;  

Similar questions