Topic 5 for loops and nested loops - UT Computer Science

Web Exercise 1.3.1. Write RollDie.java to simulate the toss of a fair six-sided die. Use casting to get a random integer, as in RandomInt.java. /*. *. */.

Part of the document

Web Exercise 1.3.1. Write RollDie.java to simulate the toss of a fair six-sided die. Use casting to get a random integer, as in RandomInt.java. /*. *. */.