forked from 2211945/WIZARD_PR2_DOP
18 lines
463 B
Java
18 lines
463 B
Java
|
/*
|
||
|
============================================================
|
||
|
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);
|
||
|
}
|
||
|
}
|