How do you draw a hierarchy chart and design the logic for a program that contains housekeeping, detail loop, and end-of-job modules, and that calculates the service charge customers owe for writing a bad check. The main program declares any needed global variables and constraints and calls the other modules. The housekeeping module displays a prompt for and accepts a customer'prompts last name. While the user does not enter "ZZZ" for the name, the detail loop accepts the amount of the check in dollars and cents. The service charge is computed as $ 20 or R20 plus 2 percent of the check amount. The detail loop also displays the service charge and then prompts the user for the next customer's name. The end-of-job module, which executes after the user enters the sentinel value for the name displays a message that indicates the program is complete.