#include <stdio.h>
int main() {
int num;
printf("정수 입력: ");
scanf("%d", &num);
if(num<0)
printf("입력 값은 0보다 작다. \n");
else if(num>-2)
printf("입력 값은 -2보다 크다. \n");
else
printf("입력 값은 0보다 작지 않다. \n");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: