Complete the following program so that it creates a random die roll (random numbers from 1 to 6).

Randomness completion activity

import java.

public class DiceRoller
 {
    public static void main( String[] args )
    {
        int dienumber;
        Random rnd =

        dienumber = 

        System.out.println("Your die roll was : " + dienumber);
    }
 }

results matching ""

    No results matching ""