I must be missing something here but i cannot see where the error is in this piece of code keeps saying Test.java:63: error: illegal start of expression
}else
^
Test.java:63: error: 'else' without 'if'
}else
public static int[] awardcal(int awardsum, int[] award, double[] gpa, boolean[] need, int count, double classadvarge){
for(int index = 0; index < count; index ++){
if (gpa[index] == 4.00){
awardsum += 1000;
if(need[index] == true){
awardsum += 500;
}else awardsum += 200;
}else
if (gpa[index] <= 3.70 && gpa[index] < 4.00){
if (need[index] == true){
awardsum += 500;
if (gpa[index] >= classaverage){
awardsum += 500;
}else
}else
}else
if (gpa[index] >= classaverage){
awardsum += 200;
}else
if (gpa[index] >= classaverage){
if (need[index] == true){
awardsum += 500;
}else
awardsum += 200;
}else
award[index] = awardsum;
return award;
}
}