Replace your "or" conditionals with "and" conditionals. (&&)
Whenever you have a code problem just look at it logically. Your loop will repeat if the user hasn't entered N or S or E or W. So it will repeat unless the user has entered N, S, E and W which isn't possible.
Comp Sci major here, your whalecum.
Quote:
Originally Posted by Guest Pm
x42bn6
ITS HIS ****ING JOB |
Last I knew he was a student still, so he probably doesn't have a job programming in Java without a degree.