nord vpnnord vpn
Ad

RNG

mail@pastecode.io avatar
unknown
java
5 months ago
315 B
1
Indexable
Never
import java.util.Random;

public class RandomNumberGenerator {
    public static void main(String[] args) {
        Random rand = new Random();
        int randomNum = rand.nextInt(101); // Generates a random integer between 0 (inclusive) and 101 (exclusive)
        System.out.println(randomNum);
    }
}

nord vpnnord vpn
Ad