A program that read mark & display result in division.

#include<stdio.h>
#include<conio.h>

void main()
{
    int m;
    clrscr();
    printf("Enter mark = ");
    scanf("%d",&m);
   
    if(m>100)
       printf("Please enter mark less than 100.");
    else if(m>=80 && m<=100)
       printf("Letter Mark");
    else if(m>=60 && m<80)
       printf("First division");
    else if(m>=45 && m<60)
       printf("Second division");
    else if(m>=33 && m<45)
       printf("Third division");
    else if(m<33)
       printf("Fail");

    getch();
}


///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........