Coding Task: 04.01 Juke Box Menu

A jukebox is a vending machine that allows us to select and play music from. We’re going to code up a program which simulates a jukebox with menus and sub-menus. In this activity, there will be no actual sounds and music playing, we’ll learn how to do that for the next exercise.

Example

Below is a demo of how the program should run:

Requirements

Follow the diagram below to show a menu and sub-menus to the user to offer them various choices of sounds and music to play. Remember to clear the screen so that the menu does not keep scrolling down the page.

You may use the jukebox image located at: “samples/images/jukebox.png”

Scroll to Top