Computer Science, asked by alekhya57, 4 months ago

algorithm and flow chart for find number of vowels and consonents in hiven line

Answers

Answered by Braɪnlyємρєяσя
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 Sanumarzi21
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