Implement the following algorithm 1. Take a string from the user and store it in a variable. 2. Initialize a count variable to 0. 3. Use a for loop to traverse through the characters in the string. 4. Use an if statement to check if the character is a vowel or not and increment the count variable if it is a vowel. 5. Print the total number of vowels in the string. 6. Exit TEST CASE 1 INPUT eLab tool has been used by 40000 users in Tamilnadu alone

Program :

for i in range(len(a)):
if (a[i]=='a' or a[i]=='e' or a[i]=='i' or a[i]=='o' or a[i]=='u'):
print("Number of vowels are")
print (c)