For more: http://redstagdigital.com/
Next Video: • Exercise 4 Week 3 - Java Tutorials Do...
Java Substring: http://docs.oracle.com/javase/7/docs/...
Java For Loop:
http://docs.oracle.com/javase/tutoria...
Ignores Case:
http://docs.oracle.com/javase/7/docs/...)
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.