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