Logic for a program that contains housekeeping


Draw a hierarchy chart and design and 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 constrains and calls the other modules. the housekeeping modules displays a prompt for and accept a customer's last name. While the use 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 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.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Logic for a program that contains housekeeping
Reference No:- TGS092933

Expected delivery within 24 Hours