InstructionsThis week’s assignment involves writing a Python program to compute
InstructionsThis 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 (e.g., floors, windows, bathrooms, dusting). 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, medium, or a large number of rooms 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 screenshot of execution of your program for each test case. Your submission must also adhere to the Submission Requirements 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% – Test Plan – Completeness of your Test plan/report (at least 3 test cases). You should have tests to show your validation/error process. You should have at least one test case for each combination of the different choices selected. Include screenshots for each test case Include screenshots 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 -10 pts, compiles -20 pts, effectiveness and neatness -10 pts, descriptive variables – 5 pts, def main() – 5 pts).
Leave a Reply