/* This is the java program for emulating N dice roller. This can be achieved using random numbers. User can also select how many dice in a game. */ //This is a sample program to emulate n dice roller import java.util.Random; import java.util.Scanner; public class Emulation_N_Dice { public static void main(String args[]) { System.out.println("Enter the number of dice: "); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Random rand = new Random(); do { System.out.println("The values on dice are: "); for(int i=0; i