WAP to Initialize the values for radius and print area and circumference
Answers
Answered by
0
Answer:
#include<iostream>
using namespace std;
int main()
{
int r;
cout<<"Enter Radius of circle : ";
cin>>r;
cout<<"Circumference : "<<2*3.14*r<<endl;
cout<<"Area : "<<3.14*r*r<<endl;
return 0;
}
Explanation:
Hope it helps :-)
Similar questions