- Home Page of ProjectGuideline.com ›
- Forums ›
- General Discussion Forum ›
- Programming Competition For Students ›
- A Very Short Programming Assignment
💡 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.
(But don’t think about implementing the whole program as a function in a separate file and calling it inside the main function.)
Yes. Believe me, it can be done with a single statement. It is the power and beauty of ‘C’.
Submit your progress and doubts. If you are doing it with three or less than three lines kindly post it here. Definitely some one will post the solution. If not, then I will post it after some time .
Think I can write. Have to look back on my earlier commands.
Have written also.
will keep you posted..