Professional Documents
Culture Documents
Total Points: 10
You are fond of eating fast food but you are low on budget. You made plan with your friends to visit the famous
fast food McDonald’s .You are entered in McDonald’s and you see the menu and the cost of Big Mac is
RS.400.You ordered Big Mac because it was in your budget. But the cashier ask you to pay RS.466 .You asked
him why I have to pay extra Rs66.Then the cashier told you that you have to pay 16.5% general sales tax.
You are required to convert to this word problem into java program.
1. Create a program called FastFood.java.
2. Create an appropriate variable with values as given in the statement above, using a Scanner object.