Replace them all

This is a assignment 1 question in which we have to replace all the 0s in the number by 5.
Here is a link to my answer.
https://hack.codingblocks.com/submission/715139

provide correct link of question