Write a program in ‘C’, to find the vowels (a,e,i,o,u) in the input sentence.
Constraints :
1. Input should be given by the user.
2. The output should be printed line by line as follows
The number of ‘a’ are : 9
The number of ‘e’ are : 7
The number of ‘i’ are : 3
…………………………….
3. The program must be done using “C”, not C++.
4. Most of all, the whole program should be done using only one statement .
Note : In ‘C’, a statement will be terminated by a semicolon ( ; )
You may include any standard header file and use its functions.
( don’t thnk abt implementing the whole program as a function in a separate file and calling it inside the main function.)
Constraints :
1. Input should be given by the user.
2. The output should be printed line by line as follows
The number of ‘a’ are : 9
The number of ‘e’ are : 7
The number of ‘i’ are : 3
…………………………….
3. The program must be done using “C”, not C++.
4. Most of all, the whole program should be done using only one statement .
Note : In ‘C’, a statement will be terminated by a semicolon ( ; )
You may include any standard header file and use its functions.
( don’t thnk abt implementing the whole program as a function in a separate file and calling it inside the main function.)
Comment