Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Draw a flowchart that determines a monthly checking account fee. Input includes an user account number, account balance and the number of times the
1. Draw a flowchart that determines a monthly checking account fee. Input includes an user account number, account balance and the number of times the account was overdrawn. The output is the user account number, account balance, and fee which is 1 percent of the balance plus 5 dollars for each time the account was overdrawn. The mainline program declares the variables, calls the housekeeping module, calls the detail module if not end of file, calls the end of job module. Include three modules that are called in mainline of program: The housekeeping module is only executed one time which is the beginning of the logic. Input first account balance in housekeeping. All other account balances are input at end of detail module. The detail() module executes continuously while the balance entered is not negative. . Input - account number, number of times the account was overdrawn, account balance (all account balance but first one) Processing - calculate the fee which is 1% of the balance plus 5 times the number of times the account was overdrawn Output - account number, account balance, and fee The endOfJob () module executes after a number less than 0 is entered for the account balance displays the message "End of Program". C2 Flowchart Criteria Ratings Pts Declarations 2 pts Full Marks por O pts No Marks 2 pts Includes housekeeping0, detailLoop(), endOfJob 2 pts Full Marks O pts No Marks 2 pts calculates fee 2 pts Full Marks O pts No Marks 2 pts input variable 1 pts Full Marks O pts No Marks 1 pts output variable 1 pts Full Marks O pts No Marks 1 pts Overall logic 2 pts Full Marks O pts No Marks 2 pts 1. Draw a flowchart that determines a monthly checking account fee. Input includes an user account number, account balance and the number of times the account was overdrawn. The output is the user account number, account balance, and fee which is 1 percent of the balance plus 5 dollars for each time the account was overdrawn. The mainline program declares the variables, calls the housekeeping module, calls the detail module if not end of file, calls the end of job module. Include three modules that are called in mainline of program: The housekeeping module is only executed one time which is the beginning of the logic. Input first account balance in housekeeping. All other account balances are input at end of detail module. The detail() module executes continuously while the balance entered is not negative. . Input - account number, number of times the account was overdrawn, account balance (all account balance but first one) Processing - calculate the fee which is 1% of the balance plus 5 times the number of times the account was overdrawn Output - account number, account balance, and fee The endOfJob () module executes after a number less than 0 is entered for the account balance displays the message "End of Program". C2 Flowchart Criteria Ratings Pts Declarations 2 pts Full Marks por O pts No Marks 2 pts Includes housekeeping0, detailLoop(), endOfJob 2 pts Full Marks O pts No Marks 2 pts calculates fee 2 pts Full Marks O pts No Marks 2 pts input variable 1 pts Full Marks O pts No Marks 1 pts output variable 1 pts Full Marks O pts No Marks 1 pts Overall logic 2 pts Full Marks O pts No Marks 2 pts
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