Java grading program for a class with grading policies
I have to write grading program for a class with the following grading policies.

1.there are 2 quizzes, each graded on the basis of 10 points.
2.there is 1 midterm exam and one final exam, each graded on the basis of 100 points.
3.the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores.)
A letter grade will be given based on the following criterion:
90 – 100 A	
80 – 89	 B
70 – 79	 C
60 – 69	 D
0 – 59	 E

The program will read in the student’s scores from a text file, and output the student’s record, which consists of the name, 2 quiz and 2 exam scores as well as the student’s average numeric score for the entire course and final letter grade.
I am suppose to define and use a class for the student record. All the scores are integers and a student name consists of no more than 10 characters. I must justify your output file.

this is the mess I have so far can somebody give me a hand? and tell me why i get so many error messages 



    Class Assign7{
       public static void main(String[] args)throws Exception{
       Record.setGP(1.25, 1.25, 0.25, 0.50);
  
      int quiz1, quiz2;
      int tMidterm, tFinal,tQuiz
      int midterm = 0;
      int finalExam = 0;
      String name;
      char grade;

    
        Scanner myIn = new Scanner( new File("scores.txt") );

       void getScore()  
       {  
       tQuiz = ((quiz1 + quiz2)/20)*.25;  
       tMidTerm = (midTermExam/100)*.25;  
       tFinal = (finalExam/100)*.50;  
       finalScore = tQuiz + tMidTerm + tFinal;  
       }  
       void getLetterGrade  
       if (finalScore >= 90)  
       {  
       grade = 'A';  
       }  
       if (finalScore >= 80)  
       {  
       grade = 'B';  
       }  
       if (finalScore >= 70)  
       {  
       grade = 'C';  
       }  
       if (finalScore >= 60)  
       {  
       grade = 'D';  
       }   
   
        System.out.println( myIn.nextLine() +"  avg  "+"letter");

        while( myIn.hasNext() ){
           Record myR = new Record(myIn.next(), myIn.nextInt(), myIn.nextInt(), myIn.nextInt(),
    myIn.nextInt());
    
           System.out.println( myR );

        } 
      }
    }
 

Java grading program for a class with grading policies
===

I have to write grading program for a class with the following grading policies.

1.there are 2 quizzes, each graded on the basis of 10 points.
2.there is 1 midterm exam and one final exam, each graded on the basis of 100 points.
3.the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores.)
A letter grade will be given based on the following criterion:
90 – 100 A	
80 – 89	 B
70 – 79	 C
60 – 69	 D
0 – 59	 E

The program will read in the student’s scores from a text file, and output the student’s record, which consists of the name, 2 quiz and 2 exam scores as well as the student’s average numeric score for the entire course and final letter grade.
I am suppose to define and use a class for the student record. All the scores are integers and a student name consists of no more than 10 characters. I must justify your output file.

this is the mess I have so far can somebody give me a hand? and tell me why i get so many error messages 



    Class Assign7{
       public static void main(String[] args)throws Exception{
       Record.setGP(1.25, 1.25, 0.25, 0.50);
  
      int quiz1, quiz2;
      int tMidterm, tFinal,tQuiz
      int midterm = 0;
      int finalExam = 0;
      String name;
      char grade;

    
        Scanner myIn = new Scanner( new File("scores.txt") );

       void getScore()  
       {  
       tQuiz = ((quiz1 + quiz2)/20)*.25;  
       tMidTerm = (midTermExam/100)*.25;  
       tFinal = (finalExam/100)*.50;  
       finalScore = tQuiz + tMidTerm + tFinal;  
       }  
       void getLetterGrade  
       if (finalScore >= 90)  
       {  
       grade = 'A';  
       }  
       if (finalScore >= 80)  
       {  
       grade = 'B';  
       }  
       if (finalScore >= 70)  
       {  
       grade = 'C';  
       }  
       if (finalScore >= 60)  
       {  
       grade = 'D';  
       }   
   
        System.out.println( myIn.nextLine() +"  avg  "+"letter");

        while( myIn.hasNext() ){
           Record myR = new Record(myIn.next(), myIn.nextInt(), myIn.nextInt(), myIn.nextInt(),
    myIn.nextInt());
    
           System.out.println( myR );

        } 
      }
    }
 
