Question d’entretien chez Coforge

Write a code to count each character from string