Challenge -Generate a Word Pyramid | SoloLearn: Learn to code for FREE!

+6

Challenge -Generate a Word Pyramid

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

1/6/2018 2:58:16 PM

I'm_Groot

2 Answers

New Answer

+6

@NoorNawazShariff for using the setfill() and setw()

+1

https://code.sololearn.com/cgsTfOu6euW1/?ref=app My code :)