Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  result
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
main()
{

int n;
printf("Enter the marks: ");
scanf("%d",&n);
if(n>=70)
{
 printf("u have passed with distinction: ");
}
else if(n>=60)
{
 printf("first class ");
}
else if(n>=50)
{
 printf("second class");
}
else if (n>=40)
{
printf("third class");
}
else
{
printf("you have failed ");
}
getch();
}
     
          
          
          
          
          
          
Comments: