WAP to print all character which are vowels only and also print their count?
Answers
Answered by
0
Explanation:
a) read a sentence from the user.
b) create a variable (count) initialize it with 0;
c) compare each character in the sentence with the characters {a,e,i,o,u}.
d) if a match occurs increment the court.
e) finally print count.
Similar questions