-->
当前位置:首页 > 题库

PROGRAMMING:4.6 - displays all positive even numbers less than the input value in ascending order

Luz5年前 (2021-05-10)题库365
Write a program to display all positive even numbers less than the input value in ascending order
(line feed after the end of output; If there is no matching number, there is no need to wrap)
-----From exercises 4-6
```
Please enter an integer: 19
2 4 6 8 10 12 14 16 18
```
###Input example:
```in
nineteen
```
###Output example:
```out
Please enter an integer: 2 4 6 8 10 12 14 16 18
```







answer:If there is no answer, please comment