Question: Must create a C++ program that uses nested for loops and asterisks to create triangles. The program must also tell the user too prompt the

Must create a C++ program that uses nested for loops and asterisks to create triangles. The program must also tell the user too prompt the number and size of triangles again if the user puts in more than four triangles and less than one for the base size of the triangle. Output must look exactly like above.

enter number and size of triangles 1 5 bash-4.3s ./triangles enter number and size of triangles 2 5 8* bash-4.3s ./triangles enter number and size of triangles 3 5 8*8* 8* bash-4.3s ./triangles enter number and size of triangles 4 5 8*

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!