Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by kamil ( 6 years ago )
public static int [] losujTab (int rozmiar, int pocz, int kon)
	{
		int [] tab = new int [rozmiar];
		Random rnd = new Random();
		for (int i = 0 ; i < rozmiar ; i++)
		{
			tab[i] = rnd.nextInt(kon-pocz+1) + pocz;
			System.out.print(tab[i] + " ");
		}
		return tab;
	}

 

Revise this Paste

Your Name: Code Language: