•const float RED_PRICE = 0.10; // Price per square foot
• // of red paint
•const float BLUE_PRICE = 0.15; // Price per square foot
• // of blue paint
•const float GREEN_PRICE = 0.18; // Price per square foot
• // of green paint
•const float PI = 3.14159265; // Ratio of circumference
• // to diameter
•int main()
•{
• float heightInFt; // Height of
the cone in feet
• float diamInFt; // Diameter
of the cone in feet
• float radius; // Radius of
the cone in feet
• float surfaceArea; // Surface
area in square feet