static int test (int n) { for(int i = 0; i <= 9; i++) { if(n == array[i] { return 0; } } return 1; }