10 likes | 145 Vues
Start. Declare variables & constants. Open the input file. Update balance, deposit subtotal, and counter. Deposit?. T. Read account number. F. T. Update balance and Interest subtotal. Read beginning balance. Interest?. F. F. Read transaction code & amount. End of file?.
E N D
Start Declare variables & constants Open the input file Update balance, deposit subtotal, and counter Deposit? T Read account number F T Update balance and Interest subtotal Read beginning balance Interest? F F Read transaction code & amount End of file? Update balance, withdrawal subtotal, and counter T T Flag up? Display account# and beginning bal. F Display ending balance T Above minimum? Display summary of deposits F Charge fee and Raise the flag Display summary of interest T Flag up? F Display summary of withdrawals Display fee No fee End