![]() if selected number fills a column of three then remove all numbers from that range from the selectNums array.add it to your ticket and remove it from the selectNums aray.get a random number from the selectNums array.Prepare an array ( selectNums) of numbers 1.90 and remove all selected in step 1.81.90 - one random number from this range.11.20 - one random number from this range.1.10 - one random number from this range.First select 9 randoms (to satisfy first requirement).Additional requirement: Every row should have 5 numbers.only 15 numbers needed to fill the ticket.First column should have numbers from 1.10, second 11.20, third 21.30 and so on to the ninth column having from 81.90. ![]() Every column should have at least 1 number, so no column should be completely blank.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |