Can someone tell me why this isnt compiling!
im recieving one syntax error but its still not compiling! If anyone could help me out, id really appreciate it!! ^.^
import javax.swing.JOptionPane;
publicclass TestOut{
publicstaticvoid main(String [] args){
String StudentName;
double gpa;
double score;
StudentName = name();
gpa = StudentGpa(StudentName);
int questions = Integer.parseInt(JOptionPane.showInputDialog(null,"Enter the No. of questions you got right"));
MinScore(questions);
}
privatestatic String name(){
String EnterName=JOptionPane.showInputDialog(null,"Enter students Name ");
return EnterName;
}
privatestaticdouble StudentGpa (String EnterName){
finaldouble MinGpa = 2.5;
double EnterGpa;
EnterGpa = Double.parseDouble(JOptionPane.showInputDialog(null,"Enter" + EnterName +"'s GPA:"));
if (EnterGpa >= MinGpa)
return EnterGpa;
else
JOptionPane.showInputDialog(null,"Your GPA does not qualify you to sit for this exam, Please register for IT 103");
System.exit(0);
}
}
privatestaticvoid MinScore (int num){
finaldouble Questions = 60;
finaldouble StudentScore = 0.75;
double FinalScore;
FinalScore = num/Questions;
if (FinalScore >= StudentScore)
JOptionPane.showMessageDialog(null,"You passed the IT 103 Testout! You will see the credits on your transcript within 4 weeks.");
else
JOptionPane.showMessageDialog(null,"You did not pass the exam. You will need to take IT 103");
}
}

