Pregunta de entrevista de SD Global Technologies

Write a program to calculate how many times a letter appeared in a string