#include <stdio.h>
int main()
{
int A;
scanf("%d",&A);
printf("Enter the MARKS: %d\n",A);
if (A>=86 && A<=100)
printf("GRADE RECEIVED IS A ");
else if (A>=61 && A<=85)
printf("GRADE RECEIVED IS B+ ");
else if (A>=41 && A<=60)
printf("GRADE RECEIVED IS B ");
else if (A>=31 && A<=40)
printf("GRADE RECEIVED IS C ");
else
printf("FAIL");
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: