Sketch the hierarchy chart and draw the logic for program which comprises housekeeping, detail loop and end-of-job modules and which computes service charge customers owe for writing bad check. Main program declares any required global variables and constants and calls other modules. Housekeeping module displays the prompt for and accepts customer's last name. Where as the user doesn't enter "ZZZZ" for name, detail loop accepts amount of check in dollars and cents. Service charge is calculated as $20 plus 2 percent of check amount. Detail loop also displays service charge and then prompts user for next customers name. End-of-job module, that executes after user enters sentinel value for name, shows a message which points out the program is complete.