If the mark is less than 60 then the student gets B grade
#include<stdio.h> main(){ int a; printf("Enter the mark: "); scanf("%d",&a); if(a>=60) printf("A grade"); else printf("B grade"); }