The third assignment involves writing a Python program to compute the cost of carpeting a room. Your program should prompt the user for the width and height in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on the price per square foot of the three grades on carpet. Your program must include a function that accepts the height, width, and carpet quality as parameters and returns the cost of carpeting that room. After calling that function, your program should then output the carpeting cost.
![](https://superbprofessors.com/wp-content/uploads/2020/04/header-banner-1400x400-1.jpg)
The third assignment involves writing a Python program to compute
the cost of carpeting a room. Your program should prompt the user for the width and height in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on the price per square foot of the three grades on carpet. Your program must include a function that accepts the height, width, and carpet quality as parameters and returns the cost of carpeting that room. After calling that function, your program should then output the carpeting cost.
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”
The post The third assignment involves writing a Python program to compute the cost of carpeting a room. Your program should prompt the user for the width and height in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on the price per square foot of the three grades on carpet. Your program must include a function that accepts the height, width, and carpet quality as parameters and returns the cost of carpeting that room. After calling that function, your program should then output the carpeting cost. appeared first on Superb Professors.