Write a pragram of it is grater than equal to 60 then A grade, if it is greater than equal to 50 then B grade, greater than equal to 40 then C grade, else D grade

#include<stdio.h>
main(){
    int a;//Defining the variable a as integer type
    printf("Enter your mark: ");
    scanf("%d",&a);//Enter the value of a
     
    if(a>=60) //When the mark is more than or equal to 60
    printf("A grade");//Grade A is allocated
    else if(a>=50) //When the mark is more than or equal to 50
    printf("B grade"); //Grade B is allocated
    else if(a>=40) //When the mark is more than or equal to 40
    printf("C grade"); //Grade C is allocated
    else //If the mark is less than 40
    printf("D grade"); //Grade D is allocated
}