C++ code

Write your question here.
Can anyone help me solve this C++ code? I only know how to write the first triangle.
Sample output:
enter number and size of triangles
4 5
* ***** ***** *
** **** **** **
*** *** *** ***
**** ** ** ****
***** * * *****

number must be in (1,4)
size can be greater than 0,
if the user enters the wrong message,the program must allow the user to re-enter the data, and this interaction must continue until the user gets it right.
Thanks
Last edited on
Topic archived. No new replies allowed.