Design the logic for a program that contains housekeeping,detail loop,and end-of-job modules,and that calculates the service of 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 customers last name.while the user does not enter "ZZZZ"for the name,the detail loop accepts the amount of 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 execute after the user enters the sentinel value for the name,displays a message that indicates the program is complete.