Java tutorial
/* 6) The two digit lucky number for the day is >>>17 */ import org.apache.commons.lang.RandomStringUtils; public class RandomStringUtilsTrial { public static void main(String[] args) { // Begin Lottery code System.out.print("6) The two digit lucky number for the day is >>>"); System.out.println(RandomStringUtils.randomNumeric(2)); // End Lottery code } }