Question: a) Draw a hierarchy chart and then plan the logic for a program needed by Hometown Bank. The program determines a monthly checking account fee.

a) Draw a hierarchy chart and then plan the logic for a program 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 percent of the balance minus 5 dollars for each time the account was overdrawn. Use three modules. The main program declares global 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.

b) Revise the banking program so that it runs continuously for any number of accounts. The detail loop executes continuously while the balance entered is not negative in addition to calculating the fee, it prompts the user for and gets the balance for the next account. The end-of-job module executes after a number less than 0 is entered for the account balance.

Please can you draw it down so i can see everthing supossed to be included in the chart. like draw a start to end with declaration. i need help plz some one who is good in intro to programming stuff

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!