if (grade >= 75) {
printf("\nPASSING");
getch();
goto Sol;
if (grade >= 90) {
printf("\nWITH HONORS");
getch();
goto Sol;
if (grade >= 95) {
printf("\nWITH HIGH HONORS");
getch();
goto Sol;
if (grade >= 98) {
printf("\nWITH HIGHEST HONORS");
getch();
goto Sol;
if (grade >= 101) {
printf("INVALID");
getch();
goto Sol;
}
}
}
}
else {
printf("FAILURE");
getch();
goto Sol;
}
This is my code so far but it won't work. What should I do to make it work?