Can anybody plz help me by suggesting how can I learn pattern printing. I tried a lot but they always bypass my mind so plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anybody plz help me by suggesting how can I learn pattern printing. I tried a lot but they always bypass my mind so plz help

17th Aug 2016, 11:03 AM
Mohit Huria
Mohit Huria - avatar
4 Answers
+ 1
Maybe try http://scanftree.com/programs/c/programs-to-print-pyramid-patterns-in-c-part-1/. It starts with very simple examples and their code. You could copy that code and if you're doing this on a PC with a nice Integrated Development Environment, you can use a so-called debugger to go through the lines of the program and see step-by-step what happens in each line.
17th Aug 2016, 3:33 PM
Stefan
Stefan - avatar
0
Pattern printing is usually a means to learn programming as it requires basic algorithmic thinking, i.e. deconstruction of a problem / pattern and using this analysis to write the loop with the proper indexing (synthesis). I'd consider it a training for, let's say, more useful programming as graphical patterns can oftentimes easily be represented non-algorithmic. Or if you want to master pattern printing first: learn the basics of loops and indexing. They will enable you to do some simple examples from which you learn for the more advanced ones.
17th Aug 2016, 2:29 PM
Stefan
Stefan - avatar
0
Thanks man u rock
17th Aug 2016, 3:35 PM
Mohit Huria
Mohit Huria - avatar
0
Thx, my pleasure :-)
17th Aug 2016, 3:38 PM
Stefan
Stefan - avatar