Question: (C++) For the assignment, we will write a program that asks the user for two positive integers no greater than 75. The program should then
(C++) For the assignment, we will write a program that asks the user for two positive integers no greater than 75. The program should then display a rectangle shape on the screen using the character X. The numbers entered by the user will be the lengths of each of the two sides of the square. For example, if the user enters 5 and 7, the program should display the following:
XXXXX
XXXXX
XXXXX
XXXXX
XXXXX
XXXXX
XXXXX
Here's what I've written so far. It works except whenever I enter a negative number, it breaks instead of asking for the number again.
https://gyazo.com/0c4d8513fe95b5eea4166327e57b09d2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
