Write a java program to display a resturant menu


Problem:

Question 1- Write a program that compares the theoretical probability of choosing a prime number within a specified range with the experimental probability of choosing a prime number in the same range. Experimental probability is determined by performing an appropriate number of trials! Allow the user to specify the upper limit. Either allow the user to specify the number of trials, or define a (reasonable) CONSTANT in the program.

Question 2- Write a java program to display a resturant menu with food items and prices. the user should be directed to enter a number to order or sentinel value to quit. when the user quits display an invoice with a heading , the list of items, subtotal, tax and total.

Please show code with comments so I can follow what you are doing.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a java program to display a resturant menu
Reference No:- TGS0893752

Expected delivery within 24 Hours