+ 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 .

5th May 2018, 7:03 PM
Navin~K
Navin~K - avatar
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.
5th May 2018, 10:43 PM
John Wells
John Wells - avatar
+ 2
On your own!
5th May 2018, 7:26 PM
Harjeet Singh
Harjeet Singh - avatar