Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Base on your answers,, can you do that please This week's assignment involves rewriting the Python program you wrote for your assignment last week to

Base on your answers,, can you do that please

This week's assignment involves rewriting the Python program you wrote for your assignment last week to use a function. All the requirements from last week still apply. The function should accept the number of rooms, and the type of cleaning as parameters and should return the cost of the house cleaning. The main program should prompt the user for the number of rooms in the house and whether the cleaning should be a light cleaning or a more complete one, it should call the function that computes the cost and should output the value the function returns. If your program from last week contained any bugs, you should correct them in this submission. 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 surcharge for a more complete cleaning 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 (at least 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, and date in the output).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions