Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 comments for the major steps of your code. You should already have these in your design/pseudocode. Also 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.

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

Explain consumer behaviour.

Answered: 1 week ago

Question

Explain the factors influencing consumer behaviour.

Answered: 1 week ago