I have two rectangles characterized by 4 values each :
Left position X, top position Y, width W and height H:
X
Y
W
H
I just tried with a c program and wrote below.
#include int check(int i,int j,int i1,int j1, int a, int b,int a1,int b1){ return (\ (((i>a) && (ib)&&(ji) && (aj)&&(ba) && (i1b)&&(j1i) && (a1j)&&(b1