Here is a simple scenario:
(int)(6*Math.random()) + 1
Try converting this scenario into code before looking at the final hint. Next Hint