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

PROGRAMMING:4.22 - input the length of both sides and draw a rectangular pattern

Luz5年前 (2021-05-10)题库393
Modify the program in listing 4-17 to show a long rectangle in the horizontal direction.
* read the length of two sides, with the smaller number as the number of rows and the larger number as the number of columns.
-----From exercise 4-22
```
Let's draw a rectangle.
Side: 7
On the other side: 3
**
**
**
```
###Input example:
```in
seven
three
```
###Output example:
```out
Let's draw a rectangle.
One side: the other side:**
**
**
```







answer:If there is no answer, please comment