How to make this program in java using java.util.Scanner | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antworten
+ 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