Why every time I run this code, the same result?
System.out.print((int)Math.random()*40+1);
Always displays 1 - why?
Why every time I run this code, the same result?
System.out.print((int)Math.random()*40+1);
Always displays 1 - why?
Source: https://ru.stackoverflow.com/questions/170173/
All Articles