Write a function to count the number of vowels in given string?
Login to Submit
count a, e, i, o, u in given string Input: "cat" Output: 1 Input: "book" Output: 2 Input: "calculator" Output: 3