Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #37.0K
Ranked #3K
~400 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for Reapt

That's an assignment. You need 2 equals. Like this: if(sc.next() == "help"). Edit: Actually, you should probably use String.equals() for this. Not the == operator.

Member Avatar for stultuske
0
227
Member Avatar for Raymond_3

I believe the problem is your First for loop. The variable i is being set to the value of a[0], then a[1], etc. If a[0] equals 200, you're asking it to check a[200].

Member Avatar for John Code
0
173

The End.