this is how i found the area of a circle
#include <iostream>
using namespace std;
int main ()
{
float area ,pi, radius;
pi= 3.14;
cout << "Which is the radius of the circle? " << "\n";
cin >> radius;
area= pi*(radius*radius);
cout << "The circle has an area of " << area << "\n";
system ("Pause");