Draw A Rectangle With Asterisks

前端 未结 4 1442
眼角桃花
眼角桃花 2021-01-29 13:23

I am trying to write a C++ Program to display a rectangle drawn in asterisks. I have the program running properly except for the fact that only one side of the heights of my rec

4条回答
  •  孤独总比滥情好
    2021-01-29 13:56

    Try to prompt the user for the number of rows and columns. Then, using nested loops, display a rectangle of stars based on the user input.

提交回复
热议问题