Relative Content

Tag Archive for c++arraysloops

Does my loop do what I described or is it doing something else?

So I’m a newbie programmer in C# and in a school course we are suppose to compare two differnet arrays with each other. The instructions we were given were that each number in the first array would be compare to each number in the second array, and if no match were found move over to the next index in the first array. I’m not sure if I’m explaining that in a good way so here’s an example: