Hey everyone, I am having a bit of a problem with a program I have to write for class. I have to make a gradebook that determines students' elegibility for sports based on their grades and the number of classes they are taking. Our teacher gave us 6 different sets of letter grades. I have to code my program to output ineligible if they are taking less that 4 classes, have a GPA lower than a 2.0, and they cannot have an "F" in a class. Right now, I am working on the GPA portion of the assignment. I have inputted the 6 student's letter grades in constructers at the end of the program. I have been trying to tell java to make these chars equal to a double value so I can average them together to get the GPA. I keep on getting errors when I try and compile. I was wondering if anyone could look at the code and help me out a bit.

Also, I have no idea how to add up the number of classes the student is taking. Once I figure this and the GPA portion, I can easily throw it into an if/else method and have it run.

Code:
{
private char c1;
private char c2;
private char c3;
private char c4;
private char c5;
private char c6;
private char c7;
private char A;
private char B;
private char C;
private char D;
private char F;

public Gradebook(char classOne, char classTwo, char classThree, char classFour, char classFive)
{
c1 = classOne;
c2 = classTwo;
c3 = classThree;
c4 = classFour;
c5 = classFive;

public void set(char A, double 4.0)
public void set(char B, double 3.0)
public void set(char C, double 2.0)
public void set(char D, double 1.0)
public void set(char F, double 0.0)

public double getGPA()
{
return (c1 + c2 + c3 + c4 + c5)/2;
}
}
public Gradebook(char classOne, char classTwo, char classThree)
{
c1 = classOne;
c2 = classTwo;
c3 = classThree;
}
public Gradebook(char classOne, char classTwo, char classThree, char classFour, char classFive, char classSix)
{
c1 = classOne;
c2 = classTwo;
c3 = classThree;
c4 = classFour;
c5 = classFive;
c6 = classSix;
}
public Gradebook(char classOne, char classTwo, char classThree, char classFour, char classFive, char classSix, char classSeven)
{
c1 = classOne;
c2 = classTwo;
c3 = classThree;
c4 = classFour;
c5 = classFive;
c6 = classSix;
c7 = classSeven;
}

public static void main(String[] args)
{