programming language codes
programming C
Search This Blog
Saturday, 16 May 2020
programming c(pass or fail)
pass mark and fail mark (after 50 pass)
#include <stdio.h>
#include <stdlib.h>
int main()
{
int mark;
printf("enter your marks");
scanf("%d",&mark);
if (mark>50){
printf("pass");
}
else {
printf("fail");
}
return 0;
}
No comments:
Post a Comment
please wait...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
please wait...