The user decides on how many boxes they want you to draw, as well the width of the boxes. Use a validation loop to ensure theirinputs are between 3 and 10 (inclusive). Use nested loops to make the...

This assignment needs to be complete with for loops without using the setw manipulator or functions


The user decides on how many boxes they want you to draw, as well the width of the boxes. Use a validation loop to ensure their inputs are between 3 and 10 (inclusive). Use nested loops to make the boxes appear on the screen. For example, if the user decides on having 4 boxes stacked on top of each other, each with a width of 9, your loops need to produce the following picture: The user decides on the maximum width of the isosceles triangle. Use a validation loop to ensure their input is between 2 and 7 (inclusive). Use nested loops to make the triangle, which is composed of boxes, appear on the screen. For example, if the user decides on having a maximum width of 3 for the triangle, your loops need to produce the following picture: The user decides on the stem size for the X (i.e., how long one "leg" of the X is). Use a validation loop to ensure their input is between 1 and 10 (inclusive). Use nested loops to make the X appear on the screen. For example, if the user decides on having a stem size of 4 for the X, your loops need to produce the following picture: Note, to make a backslash character appear on the screen, you need to escape it like this:
Oct 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here