Thursday, March 3, 2016

True-false/ on-off printing in C

1
2
3
4
5
6
7
8
9
#include<stdio.h>

main()
{
 int a,b,c;
 scanf("%d %d",&a,&b);
 c = a > b;
 printf("%d",c);
}

No comments:

Post a Comment

Thank you for commenting. Please wait for response :)