Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static int newCard() {
- int d = r.nextInt(13) + 1;
- if(d == 1)
- {
- d = 11;
- }
- else if(d>= 11)
- {
- d = 10;
- }
- return d;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement