Pergunta de entrevista da empresa LTIMindtree

Write a program to count number of vowels in a string?