Draw the hierarchy chart and design the logic for a program


Problem

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 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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Draw the hierarchy chart and design the logic for a program
Reference No:- TGS02646998

Expected delivery within 24 Hours