OneCompiler

Rolling Dice

245

import java.util.*;

public class Main {
public static void main(String[] args) {

  Random coolNumberBro = new Random ();
  int x = coolNumberBro.nextInt(20);
  
  System.out.println("You rolled the dice " + x);

}
}