Write a c++ program that accepts a radius of a circle, calculates and prints the diameter, circumference and area of the circle
Answers
Answered by
0
Answer:
hecebsvbsvebevevevebebebehhebsbenwnkeme hehe
Answered by
1
Answer:
Explanation:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float r,dia, circum, area;
cout<<" Enter radius of circle";
cin>>r;
dia= 2*r;
circum= 2*22/7*r;
area= 22/7*r*r;
cout<<"Diameter is"<<dia<<"Circumference is"<<circum<<''Area is"<<area;
getch();
}
Similar questions