#include<stdio.h>
int main()
{
int a, b, c;
int x1,x2,x3,x4,x5,x6;
a=45, b=-15, c=60;
x1=a==45;
x2=a%b!=0;
x3=a>b;
x4=a>b&&a>c;
x5=a>b||a>c;
x6=!(a>=b&&b>=c);
printf("%d %d %d %d %d %d", x1,x2,x3,x4,x5,x6);
}
/*
1 0 1 0 1 1
--------------------------------
Process exited after 0.01023 seconds with return value 0
계속하려면 아무 키나 누르십시오 . . .
*/
'정보과학' 카테고리의 다른 글
scanf() 함수로 문자읽기 1 (0) | 2019.03.29 |
---|---|
printf() 함수 실습 (0) | 2019.03.29 |
비트연산자 (0) | 2019.03.27 |
산술 연산자 (0) | 2019.03.22 |
기호상수 p.26 (0) | 2019.03.20 |
댓글