No.
Each little task of the big problem is like a piece of a puzzle. The pieces fit together in the framework of the control statements. Here are the "puzzle pieces:"
' Determine transaction type PRINT "Type a 'D' for a deposit or a 'C' for a check" INPUT TYPE$ |
' Process a deposit. PRINT "What is the deposit amount" INPUT DEPOSIT LET BALANCE = BALANCE + DEPOSIT |
' Print the new balance. PRINT "The new balance is", BALANCE |
' Process a check. PRINT "What is the check amount" INPUT CHECK LET BALANCE = BALANCE - CHECK |
' Get the starting balance PRINT "What is the starting balance" INPUT BALANCE |
Here is the "puzzle frame:"
Put the jigsaw pieces into the frame. Do this by highlighting the words of a piece using the mouse, and then using "copy" and "paste" from the edit menu to put the words into the frame. (Or, just think about where the pieces should go.)
The puzzle should be fairly easy. But say the program had 2000 pieces (as many jigsaw puzzles do). Would you like to fit them together without the control-structure framework?