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