Norm Radder wrote:There are some holes in the if statement tests
if the statement on line 14 is true then the statement on line 16 can never be true.
What is supposed to happen if n is 0, 9 or 10?
Campbell Ritchie wrote:The class should be called HelloMe, not HelloMe.java (line 12).
Campbell Ritchie wrote:Welcome to the Ranch
Please explain how you compiled that code. Did you get any other error messages? It is only possible to use java XYZ.java in (I think) Java10+, not Java8. You need to run the compiler program first:-