HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


51113 - The Menu

Guest
• Review clarifications (3)

Section problems

• 51104 - Steel
• 51113 - The Menu
• 50882 - Say Hello
• 50951 - Odd Numbers
• 50883 - Win or Lose
• 51112 - Even Numbers
• 50892 - Even Numbers
• 51105 - Currency System
• 50891 - Smallest Number
• 50965 - Draw the 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