#include <stdio.h>
int main()
{
int num;
printf("your score: ");
scanf("%d", &num);
if (num < 02 || num > 100)
{
printf("wrong data written \n");
}
else if (num >= 0 && num < 60)
{
printf("fail\n");
}
else
{
printf("pass\n");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: