' Determine transaction type PRINT "Type a 'D' for a deposit or a 'C' for a check" INPUT TYPE$
Now a choice will be made between two tasks depending on the character the user typed. So far the program looks like this:
' Get the starting balance PRINT "What is the starting balance" INPUT BALANCE ' ' Determine transaction type PRINT "Type a 'D' for a deposit or a 'C' for a check" INPUT TYPE$ ' IF ___________ THEN Process a deposit. ELSE Process a check. END IF Print the new balance. END
Test if a string variable like TYPE$ is equal to another string (such as the string "D") by using the equal sign =.
Fill in the blank of the above program so that the task process a deposit is performed when the user types in a 'D'.