Computer Science, asked by afridisahid865, 5 months ago

To check & print ( pass / fail ) of given obtained marks assuming pass marks 40?????​

Answers

Answered by ktejasri07
0

Answer:

#include<stdio.h>

int main()

{

int marks;

scanf("%d",&marks);

if(marks>40)

{

printf("pass");

}

else

{

printf("fail");

}

return 0;

}

Similar questions