Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- orig[0]=Math.floor(Math.random() * 4);
- orig[1]=Math.floor(Math.random() * 10);
- orig[2]=Math.floor(Math.random() * 10);
- orig[3]=Math.floor(Math.random() * 10);
- orig[4]=Math.floor(Math.random() * 10);
- orig[5]=Math.floor(Math.random() * 10);
- orig[6]=-1
- var sum1 = (orig[0]*7)+orig[1]+(orig[2]*7)+orig[3]+(orig[4]*7)+orig[5];
- var sum2 = sum1%10;
- orig[6] = ten_percent2[sum2];
- document.write("4700" + orig[0].toString() + orig[1].toString() + orig[2].toString() + orig[3].toString() + orig[4].toString() + orig[5].toString() + "5825" + orig[6].toString() + "<br />");
Advertisement
Add Comment
Please, Sign In to add comment