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

PROGRAMMING:4.16 - output all odd numbers less than a certain number

Luz5年前 (2021-05-10)题库418
Write a program, input an integer value, display all odd numbers below the integer value
-----From exercise 4-16
```
Integer value: 15
1 3 5 7 9 11 13 15
```
Note: if it is not a positive integer, nothing will be output.
###Input example:
```in
fifteen
```
###Output example:
```out
Integer value: 1 3 5 7 9 11 13 15
```







answer:If there is no answer, please comment