Initialize
x1 = 075;   y1 = 075;
x2 = 275;   y2 = 075;
x3 = 275;   y3 = 325;
x4 = 075;   y4 = 325;
Local Variable :
   
   
x =       y =
Step Execution
void main() {
 int flag_1, flag_2, flag_3, flag_4;
 flag_1 = flag_2 = flag_3 = flag_4 = 0;
 if ( X >= x1 )
 {
  flag_1 = 1;
 }
 if ( X <= x2 )
 {
  flag_2 = 1;
 }
 if ( Y >= y1 )
 {
  flag_3 = 1;
 }
 if ( Y <= y4 )
 {
  flag_4 = 1;
 }
 if ( flag_1 && flag_2 && flag_3 && flag_4 )
 {
  printf ( "INSIDE" );
 }
 else
 {
  printf ( "OUTSIDE" );
 }
}
void main() {
 int flag;
 if (
X < x1
||
X > x2
)
 {
  flag = 0;
 }
 else if (
Y < y1
||
Y > y4
)
 {
  flag = 0;
 }
 else
 {
  flag = 1;
 }
 if ( flag == 1 )
 {
  printf ( "INSIDE" );
 }
 else
 {
  printf ( "OUTSIDE" );
 }
}
Code Output