Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package kostka;
- public class Kostka {
- public static void main(String[] args) {
- int roll = 1;
- for (roll = 1; roll<=2; roll++){
- int i =(int) Math.floor(Math.random() * 6 + 1);
- System.out.println(i);
- };
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment