For-looping, if-else statements, charAt(), etc. Beginner programming problem

Printable View