EY Interview Question

1. Write a program to manipulate string, like repeating character count in string.