Given that a + b = 17, c + d = 20, and (a - d) = (d - c)/2 = 1, find (b + c)/(a - b).
a=1; b=1;c=1;d=1;p=0;m=a+b;n=c+d;p=(a-d) - (d-c)/2;if(m==17 and n==20 and p==1, goto9, goto10);printa,b,c,d;a++;if(a<50, goto5, 0);a=1;b++;if(b<50, goto5, 0);a=1;b=1;c++;if(c<50, goto5,0);a=1;b=1;c=1;d++;if(d<50, goto5, discard=0;
OUTPUT:
a b c d
1 16 15 5
3 14 14 6
5 12 13 7
7 10 12 8
9 8 11 9
11 6 10 10
13 4 9 11
15 2 8 12