Could some one help me for the logic of 2D 4x5 Array program with efficient code
please see the below file
let us consider we have two families [(0,0), (0,1), (0,2), (1,2), (2,2)] and [(3,0), (4,0)]
for example if i give input (0,0) i must have the complete set of output [(0,0), (0,1), (0,2), (1,2), (2,2)]
same way if i give (0,1) or (0,2) or (1,2) or (2,2) i must have the complete set of output [(0,0), (0,1), (0,2), (1,2), (2,2)]
for the next family if i give input either (3,0) or (4,0) i must have the complete set of output [(3,0), (4,0)]
please see the below file
let us consider we have two families [(0,0), (0,1), (0,2), (1,2), (2,2)] and [(3,0), (4,0)]
for example if i give input (0,0) i must have the complete set of output [(0,0), (0,1), (0,2), (1,2), (2,2)]
same way if i give (0,1) or (0,2) or (1,2) or (2,2) i must have the complete set of output [(0,0), (0,1), (0,2), (1,2), (2,2)]
for the next family if i give input either (3,0) or (4,0) i must have the complete set of output [(3,0), (4,0)]
Attachments
-
1.2 MB Views: 4