You are working for a carpeting and flooring company. You need a program to
create an estimate for customers. There are three types of rooms that customers
might have: square, rectangle and circle. Yes, some people have houses with rooms
that are circles.
The program should ask for the customer’s name and address. Then ask for the
dimensions of the room, in feet. It should then determine the cost to put flooring in
the room.
We compute flooring based upon the area of the room in square feet. Flooring
material costs $2.00 per square feet and installation costs $1.50 per square foot.
The equations for calculating the square footage of rooms are as follows:
• Square: area = side1 ^ 2
• Rectangle: area = side1 * side2
• Circle: area = radius ^ 2 * pi
Once the user has entered the information, the program should print out the
customer information. Then it should print the total square feet in the room
followed by the estimate for the materials and installation costs. Finally it should
print the total cost. See sample input/output below.
Create 3 short python programs called square.py, rectangle.py and circle.py. One
will be for each room type.

This question has been answered.

Get Answer