This week's assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of rooms in the house and the type of cleaning (eg....

1 answer below »
N/A


This week's assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of rooms in the house and the type of cleaning (eg. Floors, Windows, Bathrooms, Dusting, etc.).   Your program must offer at least two types of cleaning and the price is different for each type.  You should  decide on the choices to offer and the different prices of each type of cleaning. The cost should be based on whether the house has a small number of rooms, a medium number or a large number and the type of cleaning. You should decide on the cutoffs for what constitutes a small, medium and large number of rooms. Your program should output the cost of the house cleaning based on the number of rooms and the type of cleaning. Your program should include Header comments (what the program does) and in-line comments (the major design steps).  Document the values you chose as the cutoffs for the three house sizes, the cost for each size and the prices for each cleaning type in your comments as well. Submit your Python program as a text file ( .py) file.  In addition, submit a Design outline and a Test plan/report (3 different test cases) in a Word document or a .pdf file and include a screen shot of execution of your program for each test case.  Your submission must also adhere to the SubmissionRequirements document. (i.e. Filename and display your name, class, date in the output). Grading: 10% - Design – outline proper sequence of steps, calculations (if necessary). Identify values of any known constants (cost of each service). 10% - TestPlan – Completeness of your Test plan/report (at least three test cases).  You should have tests to show your validation/error process. You should have test cases for different choices selected. Include screen shots for each test case. 10% - Documentation - Header and in-line comments. Include document for the values you chose as the known constants cost of each service (cutoffs for the three house sizes, the cost for each size and the prices for each cleaning type)   in your comments as well. Documentation of major steps (from design outline). 70% - Program prompts and executes correctly on all test cases. Satisfies all requirements. (each requirement -10pts, compiles -20pts, effectiveness and neatness -10pts, descriptive variables – 5pts, def main() -5pts). 1) Create a Python program that accepts at least three values as input.  The program must include an if statement that performs two different computations based on the value of the first input. The computations should involve the values of the second and third values input. It should then display the result of the computation. Post your code as an attachment ( .py file) and post a screen shot of executing your program on at least one test case.
Answered Same DayNov 06, 2022

Answer To: This week's assignment involves writing a Python program to compute the cost of house cleaning. Your...

Vaibhav answered on Nov 07 2022
60 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here