CMIS 102 Assignment 3 Compute Cost of Carpeting a Room



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.
Your program should include the pseudocode used for your design in the comments. Document the values you chose for the prices per square foot of the three grades of carpet in your comments as well.
You are to submit your Python program as a text file (.txt) file. In addition, you are also to submit a test plan in a Word document or a .pdf file. 15% of your grade will be based on whether the comments in your program include the pseudocode and define the values of your constants, 70% on whether your program executes correctly on all test cases and 15% on the completeness of your test report.
CMIS 102 Assignment 3
CMIS 102 Week 3
The solution consists of:
A report word document for this assignment
All Python programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files] (134.10 KB)
CMIS 102 Assignment 3 Report.docx
source code
xx __xxxx__ == ‘__xxxx__’:
# xxx xxx xxxx xx xxxxx xxxxxx xx xxx xxxx
xxxxxx = xxx(xxxxx(‘xxxxx xxxxxx xx xxx xxxx (xx xxxx): ‘))
# xxx xxx xxxx xx xxxxx xxxxx xx xxx xxxx
xxxxx = xxx(xxxxx(‘xxxxx xxxxx xx xxx xxxx (xx xxxx): ‘))
# define cost per square foot standard_price = 5 primium_price = 7 primium_plus_price = 10 # print menu of carpet quality print (”’———o Select Carpet Quality o———– 1. Standard
2. xxxxxxx
3. xxxxxxx xxxx
xxxxx xxxx:
xxxxxx = xxx(xxxxx(‘xxxxx xxxx xxxxxx: ‘))
Price: $19
You May Also Like:
CMIS 102 Assignment 1 Salesman Weekly Pay
CMIS 102 Assignment 2 Compute Theater Ticket Price
CMIS 102 Assignment 4 Compute Average quiz Grade
CMIS 102 Assignment 5 Secure Password
CMIS 102 Assignment 6 Converting Celsius to Fahrenheit
CMIS 102 Final Project Body Mass Index


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.