#include<stdio.h>
#include<conio.h>
#define p printf
#define s scanf
int grade;
int main()
{
p("Enter Grade of Student: ");
s("%d",&grade);
if(grade >= 60)
p("You Pass It!!");
else
p("Sorry you failed!");
getch();
return 0;
}
#include<conio.h>
#define p printf
#define s scanf
int grade;
int main()
{
p("Enter Grade of Student: ");
s("%d",&grade);
if(grade >= 60)
p("You Pass It!!");
else
p("Sorry you failed!");
getch();
return 0;
}
0 comments:
Post a Comment