How to print in C a half pyramid pattern, using nested for (please explained your logic about why)

0 votes
asked Jun 8 by Omedina (120 points)
I have several examples about the script, but what I need y how the developer thinks.

why the first for, why the second for, why the last one...

Thanks in advance for your assistance

Otto

2 Answers

0 votes
answered Jun 8 by Admin (4,350 points)
Please share your solution first, whatever you have tried to implement as per your understanding. And can share the difficulty you faced.
0 votes
answered Jun 9 by Peter Minarik (12,220 points)

I just googled "half pyramid pattern" and one of the first results was this video (I have nothing to do with the video, it's not mine):

https://www.youtube.com/watch?v=ypyY1MDECfw

Is this what you're looking for?

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...