Question
Draw a hierarchy chart and then plan the logic for a progrm needed by Hometown Bank. The program determines a monthly checking account fee. Input
Draw a hierarchy chart and then plan the logic for a progrm needed by Hometown Bank. The program determines a monthly checking account fee. Input includes an account balance and the number of times the account was overdrawn. The output is the fee which is 1 percrnt of the balance minus 5 dollars for each time the account was overdrawn. Use three modules. The main program declares glol variables and calls housekeeping,detail and end of job modules. The housekeeping module prompts for and accepts a balances. The detail module prompts for and accepts the number of overdrafts, computes the fee and displays the result. The end of job module displays the message Thanks for using the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started