Hi, Ive made a little program that calculates the area of a circle by doing Pi * r2, but its not working and I don't know why:
#include <iostream>
using namespace std;
#define PI 3.14159265358979323846
#define NEWLINE '\n'
int main ()
{
float Radius = 0;
cout << "Radius: ";
cin >> Radius;
circle = Radius * Radius * PI;
cout << circle;
cout << NEWLINE;
// End Program
char StopCharacter;
cout << "Press any key to Terminate";
cin >> StopCharacter;
return 0;
}
Any help would be appreciated