Write the C+ program to input the
radius of a circle and calculate the area
Answers
Answered by
1
Answer:
#include<iostream.h>
#include<conio.h>
void main()
{
float r, pi, area;
pi=3.14;
cout<<"Enter value of radius";
cin>>r;
area=pi*r*r;
cout<<"Area of the circle= "<<area;
getch();
}
Explanation:
Similar questions