This video extends the text-based menu developed in part 1 of this tutorial by adding a static method to display the menu items. It also separates the menu data from the display method by create arrays that store the menu options and item names. We also add prices to our menu by including a prices array and finally we demonstrate some weaknesses in the menu option input by showing how we can crash the program with invalid input.
Check out part three of this tutorial https://youtu.be/eEfuiQx1dQM