Take in the string.
Then you should initialise another string
Take a char from the first string and then store it into the second one. Then add your '0' To the string and again add the second letter of the first string.
So a for loop must do the trick.
If you have tried doing that encryption. Just post the code so that we can help you out