HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


51113 - The Menu

Guest
• Review clarifications (3)

Volume problems

• 50885 - Calculate the Average
• 50887 - Average of Test Scores
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50890 - Convert Celsius to Fahrenheit
• 50889 - Convert to Minutes and Sec...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...
• 51113 - The Menu
• 51111 - Even Numbers
• Cineplexx
• Cirku Belluci
• 51040 - Annual profit
• 51038 - Simple interest
• 51041 - Plane Segmentation
• 51039 - Automated billing system
• 50310 - Kinetic Energy

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

The Menu

Question: Write a program that presents to the user a choice of your 5 favorite beverages (1.Coke, 2.Water, 3.Sprite, 4.Bravo, and 5.Fanta). Then allow the user to choose a beverage by entering a number 1-5.
If the user input other than 1-5 then it outputs "Wrong Input"

Input specification: A Positive integer from 1 to 5.

Output specification: Beverage they chose with a message: "Here is your "choice".

Sample Input Sample Output
3
6
Here is your Sprite
Wrong Input



Для отправки решений необходимо выполнить вход.

www.contester.ru