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
Cast abc to an integer.
(int)(Math.random()*100);