Question: Need a Java Code that will create a menu and prompt the user to input what they want to eat. there are 3 foods tacos(3.50),
Need a Java Code that will create a menu and prompt the user to input what they want to eat. there are 3 foods tacos(3.50), enchiladas(2.50), and nachos(4.00) 3 drinks pepsi, sprite,and mountain dew(all 2.00). 3 alcohols which are beer(4.00), margritas(5.00), and wine(5.50).
it shhould also do these
The system must prompt the user for food total.
The system must prompt the user for alcohol total.
The system must add 9% tax to the total bill.
The system must add an 18% tip on non-alcohol related items.
The system must provide the user with the total amount due.
The system must prompt the user for the amount paid
The system should provide an error if the amount paid is less than the amount owed.
The system should display the change due.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
