subject

A. Draw the 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 this 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.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 18:00, janeou17xn
Which of the following is an example of synchronous communication? a) e-mail b) voicemail c) telephone conversation d) text message.
Answers: 1
image
Computers and Technology, 24.06.2019 18:30, shemiahking5432
Jacking is a crime that takes place when a hacker misdirects url to a different site. the link itself looks safe, but the user is directed to an unsafe page
Answers: 1
image
Computers and Technology, 25.06.2019 17:00, lolololol21
Ineed on this it's not really a subject it's drivers edd
Answers: 1
image
Computers and Technology, 25.06.2019 23:00, fonsworth5
Edmund wants to create a website for his university. he has created all the necessary content and now wants to style and format the website. which language should he use? a. xml b. html c. css d. javascript
Answers: 2
You know the right answer?
A. Draw the hierarchy chart and then plan the logic for a program needed by Hometown Bank. The progr...

Questions in other subjects:

Konu
Mathematics, 13.11.2020 18:20
Konu
Mathematics, 13.11.2020 18:20
Konu
Mathematics, 13.11.2020 18:20
Konu
Mathematics, 13.11.2020 18:20