Draw the 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 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 "ZZZZ" for the name,the detail loop accepts the amount of the check in dollars and cents.The service charge is computed as $20 plus 2 percent of the check amount.The detail loop also displays the service charge and then prompts the user for the next customers 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