C++ Program to find the Circumference and Area of Circle
#include <iostream> using namespace std; int main(){ int radius; cout<<"Enter the radius : "; cin>>radius; cout<<"\nCircumference of Circle : "<< ( 2 * 3.14 * radius ); cout<<"\nArea of Circle : "<< ( 3.14 * radius * radius ) ; return 0; }
Enter the radius : 10 Circumference of Circle : 62.8 Area of Circle : 314
2πr
πr²
Comments :