Read the API doc for the indexOf() method to see what values it returns.
Type: Posts; User: Norm
Read the API doc for the indexOf() method to see what values it returns.
Is that a question or a statement?
I thought I gave you a start on the logic. You'll need to fill it in.
The program needs to keep reading until it gets a "J"
Then it MUST read an "A"
if not an A it starts over
Continue getting the next two letters: V & A using the same kind of logic