1
0
Fork 0
WIZARD_PR2_DOP22/RendomTest.java

18 lines
463 B
Java
Raw Normal View History

/*
============================================================
This is the "RendomTest" file from Author: Philipp Kotte
written on: 20 / 10 / 2023 at: 08:26
============================================================
*/
import java.util.Random;
public class RendomTest {
public static void main(String[] args) {
Random r = new Random();
int high = 10;
int low = 1;
System.out.println(r.nextInt(high - low) + low);
}
}