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. It should determine the price to put flooring in the [login to view URL] compute flooring based upon the area of the room in square feet. Flooring costs $2/ square feet. Installation costs $1.5/ square feet.
The equation for area is as follows:
• Square – area = side1 ^ 2
• Rectangle – area = side1 * side2
• Circle – area = radius ^ 2 * pi
Once the user as 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 estimation for the flooring and installation. Finally it should print the total cost. See sample input/output below.
Create 3 short python programs called [login to view URL], [login to view URL] and circle.py. One will be for each room type. Below is sample input and output.
Sample Output:
Run [login to view URL]
What is the name of the customer?
>> Michael Brown
What is the address of the customer?
>> 123 Main St. USA
What is the size of 1 side of the room?
>> 10
Estimate for Michael Brown
123 Main St. USA
Square room with area of 100 square feet.
Estimated cost for flooring is $200
Estimated cost for installation is $150
Total estimate is $350
Run [login to view URL]
What is the name of the customer?
>> Michael Brown
What is the address of the customer?
>> 123 Main St. USA
What is the radius of the room?
>> 5
Estimate for Michael Brown
123 Main St. USA
Circle room with area of 78.5 square feet.
Estimated cost for flooring is $157
Estimated cost for installation is $117.75
Total estimate is $274.75
Run [login to view URL]
What is the name of the customer?
>> Michael Brown
What is the address of the customer?
>> 123 Main St. USA
What is the size of the length of the room?
>> 5
What is the size of the width of the room?
>> 10
Estimate for Michael Brown
123 Main St. USA
Rectangle room with area of 50 square feet.
Estimated cost for flooring is $100
Estimated cost for installation is $75
Total estimate is $175
Hello,
I can make the interactive python script for you. I am an experienced programmer and web developer. I have good experience in python.
I can start the work for the project right now.
If you are interested let me know.
Thank You