Question: Read from input the carpet price per square foot (float), room width (int) and room length (int). Calculate the room area in square feet. Calculate
Read from input the carpet price per square foot (float), room width (int) and room length (int). Calculate the room area in square feet. Calculate the carpet price based on square feet with an additional 20% for waste. Output square feet and carpet cost.
Ex: If the input is:
1.10 15 12
the output is:
Room: 180 sq ft
Carpet: $237.60
Step by Step Solution
There are 3 Steps involved in it
Answer You can achieve this in Python with the following code Read input pricepersqfo... View full answer
Get step-by-step solutions from verified subject matter experts
