Template For Programming.docx - Flowchart start...

This preview shows page 1 - 3 out of 3 pages.

Flowchart start return fee = (0.01 * balance) – (5 * numOverDrafts) return end endOfJob() Input balance output fee Input numOverDrafts output OVERDRAFT_PROMOPT output BALANCE_PROMOPT return housekeeping() output END_LINE endOfJob() Declarations num balance num fee num numOverDrafts string BALANCE_PROMPT = “Enter the balance.” string OVERDRAFT_PROMPT = “Enter the number of overdrafts.” string END_LINE = “Thanks for using this program.” housekeeping() detail() detail()
Question 5 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

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture