#include <stdio.h>
// a=b 대입
// a==b a와 b는 같다
// != 같지 않다
// 0: 거짓 1: 참
int main(void)
{
int num1=10;
int num2=12;
int result1, result2, result3;
result1=(num1==num2); // 거짓 0
result2=(num1<=num2); // 참 1
result3=(num1>num2); // 거짓 0
printf("result1: %d \n", result1);
printf("result2: %d \n", result2);
printf("result3: %d \n", result3);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: