How do you print patterns using the '*' as the symbol to draw a triangle, square, rectangle, etc? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you print patterns using the '*' as the symbol to draw a triangle, square, rectangle, etc?

14th Mar 2017, 7:08 PM
Jason Bourne
2 Answers
+ 1
see my codes
14th Mar 2017, 7:28 PM
saqib ali
saqib ali - avatar
0
by using nested loop
14th Mar 2017, 8:17 PM
Mohamed Hussien
Mohamed Hussien - avatar