Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Area of a Circle

#include<stdio.h>
#definePI 3.141
int main()
{
  float r, a;
  printf("Radius: ");
  scanf("%f", &r);
  a = PI * r * r;
  printf("%f\n", a);
  return 0;
}

OUTPUT:

Radius: 2
12.56

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.