+ 1
How to make this program in java using java.util.Scanner
(i) to read a paragraph (i.e. 4 - 5 lines) of text. (ii) to display the frequency of each vowels (iii) to display the frequency of each consonants (iv) to display the total number of characters, vowels and consonants .
2 Respostas
+ 3
Personally, I wouldn't use Scanner for that. Scanner has conversion overhead to figure out the next data to process and all you need is a character.
+ 2
On your own!