+ 8

Challenge -Generate a Word Pyramid

input : Iloveindia Output: *****************I***************** ****************ILO**************** ***************ILOVIN************** **************ILOVINDI************* *************ILOVEINDIA************ https://code.sololearn.com/c81y8p0cuU25/?ref=app All languages are welcome!!

6th Jan 2018, 2:58 PM
I'm_Groot
I'm_Groot - avatar
2 Answers
+ 6
@NoorNawazShariff for using the setfill() and setw()
6th Jan 2018, 3:09 PM
I'm_Groot
I'm_Groot - avatar
6th Jan 2018, 3:40 PM
SebastiĂĄn Zapata
SebastiĂĄn Zapata - avatar