Question: This is need to be in Java Script for netbean thanks.. MenuHelper class This class is designed to provide a useful method that can be
This is need to be in Java Script for netbean thanks..

MenuHelper class This class is designed to provide a useful method that can be used when implementing value and type safe input checking in your programs. You will need to see the MenuHelper class API for a list of methods that should be implemented. You should also create a main method in this class that can be used to test out your code. You should use the method created in this class to display three menus to the user to provide a choice for a meal (you should have three options and two sides Geach should have four options and store the user selection. Make sure to format your menu text so it looks nice After the user has made each of the three selections, you should print out their responses. Note that it is not necessary to display the name of what was chosen, merely the number that was selected. Also, you should not hardcode any part of the message to be displayed into the method. Your method should just display whatever the message parameter is An example of the output (user input shown in red might look like this Please choose a main course: 1) Chicken 2) Beef 3) Pork Please enter a selection 1 3:2 Please choose a side: 1) Baked Potato 20 Soup 3) Salad 4) Vegetables Please enter a selection 1 4: 4 Please choose a side: 1) Baked Potato 20 Soup 3) Salad 4) Vegetables Please enter a selection 1 4: 1 You selected options 2, 4, 1 for your choices
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
