package day0127;
public class Test {
int i=0;
int x[]= new int [10];
public void add(int j){
x=j;
i++;
}
public int find(int h ){
for(int i=0;i<x.length;i++){
if (h==x){return 1;}
}
return 0;
}
public static void main(String[] args) {
Test t =new Test();
while(true)
{
int k= (int)(Math.random()*10+1);