T
Tj Superfly
Hey, I just have a quick question about arrays.
I have two different ones that I would like to compare.
Example:
Array 1: cats, dogs, monkeys
Array 2: cats, fish, dogs, birds, monkeys
Now, I would like to compare array 2 with array 1 and have it spit out
any words that aren't in both... if that makes sense.
So what the program should output is fish, monkeys.
I have two different ones that I would like to compare.
Example:
Array 1: cats, dogs, monkeys
Array 2: cats, fish, dogs, birds, monkeys
Now, I would like to compare array 2 with array 1 and have it spit out
any words that aren't in both... if that makes sense.
So what the program should output is fish, monkeys.