for a duplicate number in it? Or Using an 2nd Array to find if there are any duplicates numbers in the 1st arrays?
Printable View
for a duplicate number in it? Or Using an 2nd Array to find if there are any duplicates numbers in the 1st arrays?
search itself? No. But can you create a function to search an array for duplicate values? sure.
Select each value in the array in turn and store it in a free standing variable. then compare that value to every other value in the array. Hint: nested loops.
An array is just a datastructure.