| areej (15) | |
|
2. Write a C++ program that reads in the side of a square and prints the square out of asterisks. Your program should work for square of all sizes between 1 and 20, when the user enter other sizes the program should display an error message. Sample Run 1: Enter the square side: 5 ***** ***** ***** ***** ***** Sample Run 2: Enter the square side:21 invalid input. the side of a square should be between 1 and 20. | |
|
|
|
| MikeyBoy (175) | |
| What is the problem you're having with your code? | |
|
|
|
| HellfireXP (46) | |||
This will work, but if this is an assignment and you don't understand what it does, you better do some research before you turn it in.
| |||
|
Last edited on
|
|||
| areej (15) | |
| HellfireXP (35) mrs thanke you so so mauch i am very happy and i seen im dovelpoment my self becouse we hell me thankes agin | |
|
|
|