Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 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 $ per square feet and installation costs $ per square foot.
The equations for calculating the square footage of rooms are as follows:
Square: area side
Rectangle: area side side
Circle: area radius 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 inputoutput below.
Create 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started