Data set generator exercise
-
Generate a randomized dataset of 997940 numbers (containing values between 1 to 20)
-
Should contain the following distribution
1-12 83,000 13 1,000 14 500 15 250 16 100 17 50 18 25 19 10 20 5
-
No two consecutive numbers should be the same in the generated file
-
Write generated dataset to a text file
-
On the console, display all lines on which the value 20 appears