| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 128 MB | 71 | 28 | 19 | 67.857% |
At Chip’s Fast Food emporium there is a very simple menu. Each food item is selected by entering a digit choice.
Here are the three burger choices:
Here are the three drink choices:
Here are the three side order choices:
Here are the three dessert choices:
Write a program that will compute the total Calories of a meal.
The program should prompt the user for a number for each type of item then calculate and display the Calorie total. You may assume that each input will be a number from 1 to 4. That is, each customer has to pick exactly one number from each of the four options out of each of the four categories.
The program prints out on the screen the total Calories of the selected meal, and stops executing after this output.
2 1 3 4
Your total Calorie count is 649.