Pregunta de entrevista de Coforge

Write a code to count each character from string