Code:
import java.util.Random;
public class Question {
public static void main(String[] args) {
Random random = new Random ();
int x = 100 + (int)(Math.random()*200);
System.out.println(Math.round(Math.random()*200));
}
}
Leave a comment: