HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


51113 - The Menu

Guest
• Review clarifications (3)

Section problems

• 50946 - Area of Rectangle
• 50949 - Vowel or Consonant
• 50881 - Exchange the Values
• 50937 - Calculate the Average
• 50947 - Calculate the Average
• 50964 - Increasing or Decreasing
• 50948 - Translate Score into Grade
• 51104 - Steel
• 51113 - The Menu
• 51112 - Even Numbers
• 51105 - Currency System
• 51103 - Is it a triangle?
• 51114 - The traveling vehicle
• 50251 - Symmetric matrix
• 50252 - Birthday
• 50239 - Eating cheese
• 50244 - Chessboard Pattern

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