I have two variables x and y they have numbers say,1 and 3. I want to check if these two numbers are not existing in an array named used1
If they (x and y) are not existing in the array, then my values x and y must be stored in used1. (because they weren't existing here before).
But it's only checking for value of x
If either of the values exist in this array, it should check in the next else if statement.