How do you use Math.random to generate random ints?
My code is:
int abc= (Math.random()*100); System.out.println(abc);
All it print
double i = 2+Math.random()*100; int j = (int)i; System.out.print(j);