I've been asked to write a program for my intro to C++ class using loops that displays a triangle pattern side by side. I was able to write a code that will display the triangles, but I can't figure out how to make it side by side. Do I have to use some form of cout.width() to make them side by side?
Here's my code if anyone can help.
Thanks in advance!