Why my code is not printing cumla sum?

https://www.codepile.net/pile/pXpoy4DP

can you edit and resend ?