==== C-language (Pattern-Printing) =====
The C programming language allows us to print a variety of patterns, including Floyd's triangle, Pascal's triangle, odd number triangles, star patterns, star cross patterns, alphabet patterns, hollow patterns, and more.
How to approach patterns?
- Number of rows = Number of lines
- How many times will the outer loop run?
- Identify for every Row no.
- How many number of columns?
- Find column's element type.
- What should you print?
- Establish the row-to-column relationship.
IMPORTANT
- Always Dry Run your code by using pen paper in your initial stage of learning.
- When you are running in compiler/editor, do some small changes Like - variables values / printing variables / conditions to analize the changes in output.
- Try with some other method / put some other condition to achieve same output.