Line: | Input Line, Conditional Line, Loopy Line | Type: | Video |
You should have completed: | This topic leads to: |
As soon as a program becomes complex enough to do more than one thing for the user, it becomes important to for the user to be able to tell the program which one to do. This will involve everything you have learnt so far to create a functioning menu.
Selection is used to process the user's response to the menu, and iteration is used to repeat the menu to the user until they are ready to quit. Be careful to put the correct code inside the loop.