I have an array and an int:
I want to be able to check if a certain number is in that array.Code:public static final int array[] = {0, 1, 3...}; //This array contains 104 numbers. int i = 500;
I want something like this:
Code:if(i = array) { code... }


Reply With Quote