Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~123 People Reached
Favorite Forums
Member Avatar for Felisha_1

can anyone please tell me what is wrong with my program? Random n=new Random(); int card[][]=new int[5][5]; int bola[]=new int[75]; int sw=0,ctr,x=0,no,win=0,dr=0,dl=0,h1=0,h2=0,h3=0,h4=0,h5=0, m1=0,m2=0,m3=0,m4=0,m5=0; String diagonal, vertical, horizontal, fourCorners; //UNDER"B" ctr=0; while(ctr<5){ sw=0; no=n.nextInt(15)+1; for(x=0;x<ctr;x++){ if(card[x][0]==no) sw=1; } if(sw==0) { card [ctr] [0]=no; ++ctr; } } //UNDER"I" ctr=0; while(ctr<5){ sw=0; no=n.nextInt(15)+16; …

Member Avatar for taichichuan
0
123