//  Program: pizza.C
//  Author:  Alice McRae
//  Date:    November 14, 2002
//  Purpose: This program calculates the area of a pizza, given the
//           diameter of the pizza.


#include <iostream.h>

main()
{
    const double PI = 3.14159;
    double diameter;
    double area;

    cout << "Enter the diameter of the pizza in inches: ";
    cin >> diameter;
   
    area = (diameter / 2) * (diameter / 2) * PI;
    cout << "The area of the pizza is " << area << " square inches." << endl;
}