PROGRAM TO GENERATE RANDOM NUMBER Posted on November 17, 2016 by admin //program to generate random number public class RandomNum { public static void main(String args[]) { int rnd=(int)(100*Math.random()); System.out.println(“Random number is: “+rnd); } }