HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

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


4. 51111 - Even Numbers

Epoka Science Olympiad 2017 - 8th 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 (5)

Contest problems

• 1. 51110 - The area of a circle
• 2. 50890 - Convert Celsius to Fahr...
• 3. 51112 - Even Numbers
• 4. 51111 - Even Numbers

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.

Even Numbers

Question: Display the even numbers which are between 0 and 50. The user is asked to enter an even number n from the keyboard that determines from which number must start showing the numbers.

Input specification: An even number n: 0 < n < 50.

Output specification: Consecutive even numbers: n, n+2, n+4,...,50. If it violates the input specifications, it outpus "Wrong Input".

Sample Input Sample Output
6
42
60
5
6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
42 44 46 48 50
Wrong Input
Wrong Input



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

www.contester.ru