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