Cranes at VIIT Q16

Count the Number of Vowels in a Sentence

Write a C program that:

Note: Vowels include: a, e, i, o, u (both uppercase and lowercase should be counted).

Example Test Cases:

Test Case 1
Input: India is a beautiful country
Output: Number of vowels: 12

Test Case 2
Input: Programming is fun
Output: Number of vowels: 5
            

Task: Write a loop to check each character of the sentence and count all vowels, considering both cases.