- #1
courtrigrad
- 1,236
- 2
Hello all
I am trying to write a program that checks whether one array is contained in another array. For example,
A = {1,2,3}
B= {1,2,3,4,5,6}
A is contained in B, so we print out true, otherwise we print out false.
Any advice or tips in writing this program would be greatly appreciated.
Thanks!
I am trying to write a program that checks whether one array is contained in another array. For example,
A = {1,2,3}
B= {1,2,3,4,5,6}
A is contained in B, so we print out true, otherwise we print out false.
Any advice or tips in writing this program would be greatly appreciated.
Thanks!