Answer:

  ' Process a deposit. 
  PRINT "What is the deposit amount"
  INPUT DEPOSIT
  LET BALANCE = BALANCE + DEPOSIT

Process a Check

The above answer might look a little strange since it is not shown as part of a complete program. But try to think of it as one of the smaller tasks that must be done to solve the larger problem. As a solution to the small task, it is correct.

Now the task Process a check must be completed. For this, the program should:

  1. Prompt the user for the check amount.
  2. Input the amount.
  3. Subtract the amount to the balance.

The check amount should be kept in a numeric variable.

QUESTION 13:

Write three statements that complete this task.