/* program to accept radius and produce area */
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float r,ar;
cout<<"Enter radius"<<endl;
cin>>r;
ar =(22/7)*r*r;
cout<<"Area = "<<ar;
getch();
}
Not Satisfied ? Just search & get the result
Related posts:
- C program to find the area of a circle, given the radius
- C Program to calculate area and circumference of the circle
- C++ Program – Area of trangle
- C program to accept a figure code and find the ares of different geometrical figures such as circle, square, rectangle etc using switch
- C Program – Implement the midpoint circle drawing algorithm
