Program to generate 5 Random nos. between 1 to 100. Get link Facebook X Pinterest Email Other Apps January 08, 2015 Source code class RandomDemo{ public static void main(String args[]){ for(int i=1;i<=5;i++){ System.out.println((int)(Math.random()*100)); } } } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment