Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You ae given a banking file with account numbers and balances. Example 123456 $2

ID: 3569515 • Letter: Y

Question

You ae given a banking file with account numbers and balances.

Example

123456 $2036.22

431069 $590.22

225069 $10614.56

222333 $61.41

Write a program in pseudo code to prompt the user to enter their account number, and if they want to make a deposit or withdrawl. Validate the account number to ensure that it is a valid account. Have them enter "1" for deposit or "2" for withdraw. Allow the user to continue to make deposits or withdrawls until they enter "3" to quit. Validate the type of transaction i.e.1 ,2 , or 3.

Prompt the user to enter the transaction amount. For each transaction update the balance and display the balance. If the balance goes negative display a message to the user and prompt them to enter a smaller amount.

After the user has finished entering transactions display their final balance.

Explanation / Answer

Start

            Declarations

            num account_number[100]

            num account_balance[100]

            num acc_num

            num amount

            num choice

            num i

            output