HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2017 - 9th Grade > problem:


1. 51113 - The Menu

Epoka Science Olympiad 2017 - 9th Grade

Start: May.06.2017 at 10:00:00 AM
Finish: May.06.2017 at 12:30:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (3)

Contest problems

• 1. 51113 - The Menu
• 2. 51114 - The traveling vehicle
• 3. 51116 - The Star Triangle
• 4. 51115 - Pascal Triangle

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