HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


51113 - The Menu

Guest
• Review clarifications (3)

Volume problems

• Cineplexx
• Cirku Belluci
• 51113 - The Menu
• 50882 - Say Hello
• 50883 - Win or Lose
• 50886 - Even or Odd
• 50894 - ASCII Codes
• 51111 - Even Numbers
• 50892 - Even Numbers
• 50907 - Second Largest
• 50891 - Smallest Number

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