Kindly help me create a triangle made of '*' . And a diamond made of the same and an inverted triangle made of ** too. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Kindly help me create a triangle made of '*' . And a diamond made of the same and an inverted triangle made of ** too.

C++

29th Sep 2017, 4:48 AM
Nduta
Nduta - avatar
3 Answers
29th Sep 2017, 4:52 AM
Manual
Manual - avatar
+ 3
https://code.sololearn.com/cU69hv9l4FEy/?ref=app
29th Sep 2017, 5:13 AM
Kartikey Sahu
Kartikey Sahu - avatar
0
@manual how do i invert the pyramid? And also make a diamond in form of asterisk
1st Oct 2017, 7:22 AM
Nduta
Nduta - avatar