algorithm and flow chart for find number of vowels and consonents in hiven line
Answers
Answered by
2
Define a string.
Convert the string to lower case so that comparisons can be reduced. ...
If any character in string matches with vowels (a, e, i, o, u ) then increment the vcount by 1.
If any character lies between 'a' and 'z' except vowels, then increment the count for ccount by 1.
Print both the counts.
Answered by
6
Algorithm
- Define a string.
- Convert the string to lower case so that comparisons can be reduced. ...
- If any character in string matches with vowels (a, e, i, o, u ) then increment the vcount by 1.
- If any character lies between 'a' and 'z' except vowels, then increment the count for ccount by 1.
- Print both the counts.
❥︎hope it helps u mate
❥︎Mery Christmas ☺️❤️☺️
Similar questions
Business Studies,
2 months ago
Hindi,
2 months ago
Math,
4 months ago
Math,
4 months ago
World Languages,
10 months ago
Social Sciences,
10 months ago