Question: Draw the hierarchy chart and Pseudocode for a program that calculates service charges for Hazel's Housecleaning service. The program contains housekeeping, detail loop, and end
Draw the hierarchy chart and Pseudocode for a program that calculates
service charges for Hazel's Housecleaning service. The program contains
housekeeping, detail loop, and endofjob modules. The main program declares
any needed global variables and constants and calls the other modules. The
housekeeping module displays a prompt for and accepts a customer's last name.
While the user does not enter for the name, the detail loop accepts the
number of bathrooms and the number of other rooms to be cleaned. The service
charge is computed as $ plus $ for each bathroom and $ for each of the
other rooms. The detail loop also displays the service charge and then prompts
the user for the next customer's name. The endofjob module, which executes
after the user enters the sentinel value for the name, displays a message that
indicates the program is complete.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
