So, I just put my whole thing in here and I'm very new to programming using Java, I dont really understand what I did wrong here since I cant get it to run
public class ProgramFixing {
public static void main(String[] args) {
// TODO code application logic here
// The program should read in one floating-point value and
// three integer values from the user.
// The floating-point value should be stored in the variable
// factor, and the integer values in the variables firstScore, secondScore,
// and thirdScore, respectively. The program should print out the three values entered.
// Then, the program should calculate the quantity
// (thirdScore + factor * (firstScore + secondScore)) / (2 * factor + 1)
// and store it in the variable weightedScore.
// The program should then print out the value of weightedScore.
Scanner scan = new Scanner(System.in);
int firstScore;
int secondScore
int thirdScore;
System.out.print("Enter the factor: ");
factor = scan.nextInt();
System.out.print("Enter the first score: ");
firstScore = scan.nextInt();
System.out.print("Enter the second score: ");
secondscore = scan.nextInt();
System.out.print("Enter the third score: ");
thirdScore = scan.nextInt();
System.out.println("The factor is " + factor);
System.out.println("The three scores are\t" + firstScore, "\t" + secondScore + \t + thirdScore);
int weightedScore = (thirdScore + factor * firstScore + secondScore / 2 * factor + 1);
System.out.println("The value of the result is " + weightedScore);
}
}