pls help me with my project i am a beginner in c++
how can i do this image
++++++++++
++++xxx++++
+++xxxxx+++
++xxxxxxxx++
+ xxxxxxxxxx+
++xxxxxxxx++
+++xxxxx+++
++++xx++++
++++++++++
ps:(Letter "X" is substitute for blanks)
thankyou in advance
Looking at that thread should give you some ideas about the kind of logic and techniques you can use to solve your problem. Obviously, you won't be able to use the same code, but you can learn from it and adapt it to achieve what you want.
The above is a copy-paste from your post, but in output tags. Is that exactly what you want, or does it have typos?
The main principle in diamond/triangle/pyramid programs is that you have a loop that on each iteration produces one line of the output. The loop counter provides a (line)number and that number is used to compute how many + or * or space the line must have.
Converting one number into text on line can involve one or more loops. They will be in the body of the outer loop. Nested.