Can anyone tell me how can I insert blanks before the stars to make a perfect pyramid and my first star isn't printing (Solved) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Can anyone tell me how can I insert blanks before the stars to make a perfect pyramid and my first star isn't printing (Solved)

https://code.sololearn.com/cde89B9nMQU8/?ref=app

28th Apr 2021, 3:32 PM
SUKHBEER SINGH
SUKHBEER SINGH - avatar
5 Respostas
+ 3
Do you mean something like this? https://code.sololearn.com/cCccBWlA1WCQ/?ref=app If so you almost had it. You just had to printf(ā€œ ā€); instead of printf(ā€œā€); https://code.sololearn.com/cSSfHcYKi1P5/?ref=app
28th Apr 2021, 3:37 PM
Brain & Bones
Brain & Bones - avatar
+ 1
Caleb but still the top star is missing what should I do šŸ¤”
28th Apr 2021, 4:46 PM
SUKHBEER SINGH
SUKHBEER SINGH - avatar
+ 1
SUKHBEER TMU Student remove the equal sign on line twelve. See my code again, i fixed it.
28th Apr 2021, 5:13 PM
Brain & Bones
Brain & Bones - avatar
+ 1
Thanks šŸ‘
28th Apr 2021, 5:23 PM
SUKHBEER SINGH
SUKHBEER SINGH - avatar
+ 1
SUKHBEER TMU Student no problem, and neat code. šŸ˜šŸ‘
28th Apr 2021, 5:24 PM
Brain & Bones
Brain & Bones - avatar