You are on page 1of 1

AD-CS / BS-CS / BS-SE Program CS-124 GIFT University Gujranwala

Course: Introduction to Programming [D] 29-Nov-2018 (Fall 2018)


Resource Person: Zeeshan Zulfiqar Assignment – 1 Deadline: 6/12/2018

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.

3. Run and print the required value.

CS-124 [A] Assignment-1 Page 1

You might also like