Exercise 2 Week 3 - Java Tutorials For Loop Substring Scanner Corrupt Class

preview_player
Показать описание

Java For Loop:
Ignores Case:
Write a Java program called HiCounter that prompts the user to enter an arbitrary sentence.
Count the number of times the string “hi” appears in the sentence and display the result onscreen.
Note: the string “hi” can be written in any combination of upper or lower case.
Рекомендации по теме
join shbcf.ru