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

PROGRAMMING:4.10 - alternate the specified number of * lines

Luz5年前 (2021-05-10)题库333
Write a program to display * continuously as follows, the total number is equal to the integer value entered. In addition, when you enter an integer below 0, nothing is displayed.
-----From exercise 4-10
```
Positive integer: 3
*
*
*
```
###Input example:
```in
three
```
###Output example:
The corresponding output is given here. For example:
```out
Positive integer:*
*
*
```







answer:If there is no answer, please comment