void main(void){
printf("\n");
int num1 = 1, num2 = 2;
printf("Is 1 > 2 : %d\n\n", num1 > num2);
if(num1 > num2){
printf("%d is greater then %d\n\n", num1, num2);
} else if(num1 < num2){
printf("%d is less then %d\n\n", num1, num2);
} else {
printf("%d is equal to %d\n\n", num1, num2);
}
}
댓글 없음:
댓글 쓰기