how can we calculate pairs of a,b from x,y and what is its logic
Not able to implement the logic
@rastogi.g1998 check all the possible values of a and b inside x and y by using two loops.
is it clear?
thank you understood
you are welcome 
just mark the doubt resolved and hit like 