#include #include using namespace std; /* Area calculation program */ int main() { int radius; // then changed to double radius double area; string myname; cout << "Please enter your name: "; cin >> myname; cout << "Hello " << myname << "! Welcome to my area calculation program" << endl; cout << "Please enter the radius of your circle: "; cin >> radius; area = 3.14 * radius * radius; // calculates the area cout << "The area is: " << area << endl; // Then show that they can remove the variable area // cout << "The area is: " << 3.14 * radius * radius << endl; cin.ignore(); cin.get(); return 0; }