|
Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
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
|
Для отправки решений необходимо выполнить вход.
|