in java please!!!!!!
Lydia Roberts got 8.5. Based on the grading system, Lydia (9000001) will probably get FNS! Please work harder to pass the cou Exit the program? (enter Yes to exit): Yes Thank you for using Grading System Program! Figure 1. Sample output of Question#1 Question 2 (Online Order Program) 8pts In this question, you will write a program to help the customer order food online and calculate the total price. Your program should follow the following rules: Prompt the user to enter the choice based on the menu and validates the information The choice should be an integer number displayed on menu from 1 to 6. . COMP248/Winter 2021 - Assignment 2 Page 2 of 5 MacBook Air A price to calculate the total expense of the user. Please find the menu and price in the following table. You must use switch statement to create the menu options. Menu 1. Hamburger 2. Pizza 3. Noodle 4. Salad 5. Sandwich 6. Exit Price without Meat $7.5 $7.5 $7.5 $7.5 $7.5 Price with beef $25.5 $25.5 $25.5 $25.5 $25.5 Price with pork $17.5 $17.5 $17.5 $17.5 $17.5 . Your program should be able to ask user's new choice if the user enters Yes for more food. If the total price is less than $50, the customer needs to pay $5 for delivery. Your program should ask the amount of tips that the customer would like to pay. Display welcome/closing messages. The following are sample screen shots to illustrate the expected behavior of your program. Your program must display the same information with the same format. Welcome to Online Order Program! 1. Hamburger 2. Pizza Display welcome/closing messages. The following are sample screen shots to illustrate the expected behavior of your program. Your program must display the same information with the same format. Welcome to Online Order Program! 1. Hamburger 2. Pizza 3. Noodle 4. Salad 5. Sandwich 6. Exit ++++++++++ Please enter your choice (1-6): 3 Your choice is: Noodle. Would you like to have some meat on your Noodle? Yes Beef or Pork? beef Would you like to have more food? no The total price is less than $58. You need to pay the delivery fee $5. Would you like to pay some tips? Please enter the amount: 3.5 The total price is $34.0. I Thank you for using Online Order Program! Figure 2. Sample output of Question#2 Welcome to Online Order Program! 1. Hamburger 2. Pizza 3. Noodle 4. Salad 5. Sandwich 6. Exit Please enter your choice (1-6): 6 Your choice is: Finish the order! No need to pay the delivery fee. The total price is $e.. Thank you for using Online Order Program! Figure 3. Sample output of Question#2 Welcome to Online Order Program! 1. Hamburger 2. Pizza 3. Noodle 4. Salad 5. Sandwich 6. Exit Please enter your choice (1-6): a That is a wrong input. Please try again! Please enter your choice (1-6): 3 Your choice is: Noodle. Would you like to have some meat on your Noodle? Yes