Question: ( please write in python code for answer below: ) You are working for a carpeting and flooring company. You need a program to create

(please write in python code for answer below:)
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 customers 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!