I’ve tried everything it says there’s an issue with the word student and that it cannot find the symbol but I don’t know what to do.
/*
Programmer: Jordan McIntosh
Date: 02/11/2022
School: Science Hill High School
Purpose: the purpose is to import 4 students and be given their total points,
grade, and average
*/
class Main{
public static void main(String[] args){
//creating new student named Jordan
Student Jordan = new Student();
Jordan.setName("Jordan");
Jordan.setCourse("AP CSA");
Jordan.setGrade(11);
Jordan.addScore(95);
Jordan.addScore(80);
//creating new student named Nick
Student Nick = new Student();
Nick.setName("Nick");
Nick.setCourse("Biology");
Nick.setGrade(11);
Nick.addScore(78);
Nick.addScore(95);
Nick.addScore(97);
Nick.addScore(56);
//creating new student named Luke
Student Luke = new Student();
Luke.setName("Luke");
Luke.setCourse("AP Psychology");
Luke.setGrade(11);
Luke.addScore(51);
Luke.addScore(94);
Luke.addScore(89);
Luke.addScore(100);
//creating new student named Drew
Student Drew = new Student();
Drew.setName("Drew");
Drew.setCourse("Credit Recovery");
Drew.setGrade(11);
Drew.setScore(12);
Drew.setScore(47);
Drew.setScore(91);
Drew.setScore(62);
Drew.setScore(92);
Drew.setScore(78);
//formulating the average of each student
double avg = Jordan.getPoints() / Jordan.NumScores() ;
double avg1 = Nick.getPoints() / Nick.NumScores() ;
double avg2 = Luke.getPoints() / Luke.NumScores() ;
double avg3 = Drew.getPoints() / Drew.NumScores() ;
//printing Jordan's information
System.out.println("Student Name: "+ Jordan.getName());
System.out.println("Student Course: "+ Jordan.getCourse());
System.out.println("Student Grade: "+ Jordan.getGrade());
System.out.println("Number of Scores: " +Jordan.getNumScores());
System.out.println("Total Points: " +Jordan.getPoints());
System.out.println("Average: "+ avg +"n" );
//printing Nick's information
System.out.println("Student Name: "+ Nick.getName());
System.out.println("Student Course: "+ Nick.getCourse());
System.out.println("Student Grade: "+ Nick.getGrade());
System.out.println("Number of Scores: " +Nick.getNumScores());
System.out.println("Total Points: " +Nick.getPoints());
System.out.println("Average: "+ avg +"n" );
//printing Luke's information
System.out.println("Student Name: "+ Luke.getName());
System.out.println("Student Course: "+ Luke.getCourse());
System.out.println("Student Grade: "+ Luke.getGrade());
System.out.println("Number of Scores: " +Luke.getNumScores());
System.out.println("Total Points: " +Luke.getPoints());
System.out.println("Average: "+ avg +"n" );
//printing Drew's information
System.out.println("Student Name: "+ Drew.getName());
System.out.println("Student Course: "+ Drew.getCourse());
System.out.println("Student Grade: "+ Drew.getGrade());
System.out.println("Number of Scores: " +Drew.getNumScores());
System.out.println("Total Points: " +Drew.getPoints());
System.out.println("Average: "+ avg +"n" );
}
}