Program to count the total no. of vowel in the sentence
This is the program that count the total number of vowel in the sentence.The program is done by using the help of loop and if-else condition.Here user input the sentence and it extract each alphabet and check whether it is vowel or not.If it is then the counter c will increament.
Here above we see that the user input the sentence "Arun want to study java programming" and the no. of vowel in the sentence are 10 that is(A,u,a,o,u,a,a,o,a,i).
Comments
Post a Comment