// Arup Guha
// 1/26/2026
// Test of 2 random objects.
// Illustrates multiple objects and the fact that all #s are pseudorandom.

/*** Run this multiple times and observe the outputs in columns 1, 2 and 3. ***/

import java.util.*;

public class RndTest {

	final public static int NUMTRIALS = 10;
	
	public static void main(String[] args) {
	
		// We create 3 random number objects.
		Random r1 = new Random(2000000000000L);
		Random r2 = new Random(17L);
		Random r3 = new Random();
		
		// Try generating random numbers from each NUMTRIALS times.
		for (int i=0; i<NUMTRIALS; i++) {
			int x = 1 + r1.nextInt(100);
			int y = 1 + r2.nextInt(100);
			int z = 1 + r3.nextInt(100);
			System.out.println(x+" "+y+" "+z);
		}
	}
}