heres the excercise i have to do. a lottery program that randomly selects 6 numbers from 1 to 49 (with no repeats), and gives 5 sets of numbers.
Problem: 'if(number > 50 | (number == pnum)' although numbers above 50 are not used, often two numbers repeat in a single set (after running the program for about 6 times)
problem2: the output it something like:
34
32
16
10
8
19
--------------- (execution stops here)
how do i get the rest 4 sets, and the numbers to be printed on a single line?
Ali