Run ❯
Get your
own Java
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { int randomNum = (int)(Math.random() * 101); // 0 to 100 System.out.println(randomNum); } }