To check & print ( pass / fail ) of given obtained marks assuming pass marks 40?????
Answers
Answered by
0
Answer:
#include<stdio.h>
int main()
{
int marks;
scanf("%d",&marks);
if(marks>40)
{
printf("pass");
}
else
{
printf("fail");
}
return 0;
}
Similar questions