Can someone help me fix these errors I’m getting from mycode?
The code is above the pictures
import java.util.Scanner;
public class PlayerRoster {
public static void main(String[] args) {
/* Type your code here. */
Scanner keyboard = new Scanner(System.in);
int[] jersey = new int[5];
int[] rating = new int[5];
int count = 0;
char choice = ‘o’;
for(count = 0; count<5; count++)
{
System.out.printf(“Enter player %d’s jersey number:n”,count+1);
jersey[count] = keyboard.nextInt();
System.out.printf(“Enter player %d’s rating:nn”, count+1);
rating[count] = keyboard.nextInt();
}
while(true)
{
if(choice == ‘u’)
{
System.out.print(“nEnter a jersey number: “);
int jnum = keyboard.nextInt();
int ind = 0;
for(ind = 0; ind < count && jersey[ind] != jnum;ind++);
if(jersey[ind] == jnum)
{
System.out.print(“Enter a new rating: “);
rating[ind] = keyboard.nextInt();
}
}
else if(choice == ‘a’)
{
System.out.print(“nEnter a rating: “);
int above