Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

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

0 votes
asked Jun 8, 2020 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, 2020 by Admin (4,400 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, 2020 by Peter Minarik (22,620 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.
...