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

PROGRAMMING:4.8 - enter an integer and display the integer asterisk continuously

Luz5年前 (2021-05-10)题库416
Rewrite the program in listing 4-8 so that when the input value is less than 1, the newline character is not output.
-----From exercises 4-8
```
Positive integer: 15

```
```
Positive integer: 0
```
```
Positive integer: - 5
```
###Input example:
```in
-5
```
###Output example:
```out
Positive integer:
```







answer:If there is no answer, please comment