#include <stdio.h>
int main()
{
int mark;
scanf("%d",&mark);
printf("The mark of the student=%d\n",mark);
if(mark>85 && mark<=100)
{
printf("The grade of the student is A\n");
}
else if(mark>60 && mark<=85)
{
printf("The grade of the student is B+\n");
}
else if(mark>40 && mark<=60)
{
printf("The grade of the student is B");
}
else if(mark>30 && mark<=40)
{
printf("The grade of the student is C");
}
else
{
printf("The student has FAILED");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: