Find Area of Circle Using C++
Simple Code to find Area Of circle using C++
========================================================================
#include<iostream>
using namespace std;
main()
{
int radius;
float area=0,pi=3.14;
cout<<"Enter Radius of Circle\n";
cin>>radius;
area=pi*(radius*radius);
cout<<area;
}
========================================================================
0 comments:
Post a Comment