for(int x=0;x<=5;x++)
{ score[x]=(int)(1+Math.random()*6);
if(x>=1)
{
int x2 = x-1;
for(int c=0;c<=x2;c++)
{
if(score[c]==score[x])
score[x]=(int)(1+Math.random()*6);
}
}
}
This post has been edited by masterjohji: 18 July 2011 - 11:35 PM

New Topic/Question
Reply



MultiQuote





|