Create a Menu App
Combine loops and logic into a user-driven app.
We'll cover the following...
We'll cover the following...
Now it’s your turn to build a real interactive app using loops, input, and methods! Here’s your mission:
Goal
Build a simple console menu system.
Combine input, loops, and logic.
Let the user choose actions.
Fill in the missing parts (look for // TODO comments) so the program works as described.
What should happen
Show a menu with options (like “Say Hello”, “Show time”, “Exit”).
Take user input for their choice.
Keep showing the menu until the user chooses to exit.
Use
while,switch, and correct input handling.