#include <stdio.h>
int a = 3;
int b = 7;
int x;
int main() {
scanf("%d",&x);
if( (x > a) && (x < b) ) {
printf("%d sta in I(%d,%d)\n",x,a,b);
} else {
printf("%d non sta in I(%d,%d)\n",x,a,b);
}
if( x <= a ) {
printf("%d sta in I(-inf,%d]\n",x,a);
}
if( x >= b ) {
printf("%d sta in I[%d,+inf)\n",x,b);
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: