1/*
2Author: Jeffrey Huang
3jeffreyhuang9999@gmail.com
4This is a simple code that uses math.random
5to generate a number from 1-6, inclusive.
6*/
7import java.util.Random;
8public class Main
9{
10 public static void main(String[] args) {
11 int i;
12 i = (int)(6*Math.random()+1);
13 System.out.println(i);
14 }
15}
16