Please do not COPY & PASTE from previous answers. This question is entirely different. Please READ the question THOROUGH
Posted: Sun Jul 10, 2022 11:23 am
Please do not COPY & PASTE from previous answers. Thisquestion is entirely different. Please READ the question THOROUGHLYand CAREFULLY before you attempt to answer it as this questionrequires many steps. Thank you very much.
You are required to write a Python program to compute the costof house cleaning. The program should prompt the user for thenumber of rooms in the house, 2 types of cleaning (Windows andDusting with the price is different for each type) and whether thecleaning should be a light cleaning or a more complete one.
You should decide on the cutoffs for what constitutes a small,medium, and large number of rooms. Your program should output thecost of the house cleaning based on the number of rooms and thetypes of cleaning. Document the values you chose as the cutoffs forthe three house sizes, the cost for each size and the prices foreach cleaning type and the surcharge for a more complete cleaningin your comments as well.
In addition to the house cleaning service, we also offer yardservice. Yard service involves mowing, edging and shrub pruning.The cost of the mowing depends upon the square footage of the yard,the cost of edging depends upon the linear footage of the yard'sedges and the cost of shrub pruning depends upon the number ofshrubs.
The program should begin by asking the customer whether they arerequesting house cleaning or yard service. If the user inputs aninvalid choice, the user should be re-prompted until a valid choiceis entered. Depending upon the choice the program should thenprompt the user for the information needed to determine the cost ofthe service.
Seniors receive a 10% discount on both services by prompting theuser to requesting the customer's age. The output of your programshould be the cost of the requested service. At a minimum, theprogram should have one function to calculate the house cleaningcost, another to calculate the yard service cost and a third todetermine the discount.
The program should include comments for the major steps of yourcode. In addition, document the cost of square foot for mowing, thecost per linear foot for edging and the cost per shrub for pruning.Finally, you should document any constants involved in determiningthe senior discount.
You are required to write a Python program to compute the costof house cleaning. The program should prompt the user for thenumber of rooms in the house, 2 types of cleaning (Windows andDusting with the price is different for each type) and whether thecleaning should be a light cleaning or a more complete one.
You should decide on the cutoffs for what constitutes a small,medium, and large number of rooms. Your program should output thecost of the house cleaning based on the number of rooms and thetypes of cleaning. Document the values you chose as the cutoffs forthe three house sizes, the cost for each size and the prices foreach cleaning type and the surcharge for a more complete cleaningin your comments as well.
In addition to the house cleaning service, we also offer yardservice. Yard service involves mowing, edging and shrub pruning.The cost of the mowing depends upon the square footage of the yard,the cost of edging depends upon the linear footage of the yard'sedges and the cost of shrub pruning depends upon the number ofshrubs.
The program should begin by asking the customer whether they arerequesting house cleaning or yard service. If the user inputs aninvalid choice, the user should be re-prompted until a valid choiceis entered. Depending upon the choice the program should thenprompt the user for the information needed to determine the cost ofthe service.
Seniors receive a 10% discount on both services by prompting theuser to requesting the customer's age. The output of your programshould be the cost of the requested service. At a minimum, theprogram should have one function to calculate the house cleaningcost, another to calculate the yard service cost and a third todetermine the discount.
The program should include comments for the major steps of yourcode. In addition, document the cost of square foot for mowing, thecost per linear foot for edging and the cost per shrub for pruning.Finally, you should document any constants involved in determiningthe senior discount.