while(True){
System.out.println("Which team just won? (x to exit)");
input = scnr.nextLine();
if(input.equals('x')) break;
for(int i=0;i< team.length-1;i++){
if (team[i].equals(input)) {
score[i]++;
}
}
}
Above code assume you have two arrays Team and Score with each index matching to a Team has the score on the same index in the Score array.
In your code the Else if(team[i] != input) code is actually redundant as this is what actually a for loop does on itself if the IF matching fails it continues itself.
And secondly, the string matching should be done using .equal(), as == compares the object, not the actual string.
For actually the for your team string comparison you should try lowercasing the input as a team xyz won't match to Xyz.
*And instead of having two arrays for a team and score, you can use Maps(hashmaps) in which you can store the team as key and score as the value and on each input check if key (name of that team exists) and update the value by 1 if it does.
like
Foo score = map.get(teamName);
if(score){
score++;
}