Hello, this is me again with the same code, now working
except for one part when I use the sentinel value it gives me a nullPointerExceptionError and I'm not quite sure what I need to change
Everything else works fine
Just when I enter "done" the error appears
Any suggestions?
If you don't know what I'm talking about, this is a program in which an user inputs a last name, and the last name should be returned with the following format ie "Smith " should be "T. H. Smith"
(takes last character , and takes the next to last and capitalizes them)
see
https://coderanch.com/t/600366/java/java/array