I need to generate two random sets of matrices. Each of which contains 3 digits of digits from 2 to 10
like
matrix 1: 994,878,129,121
matrix 2: 272,794,378,212
the numbers in both matrices must be greater than 100 and less than 999
BUT
the average value for both matrices should be in the ratio of 1: 2 or 2: 3, which will ever limit user input
My math skills are a bit limited, so any ideas how I can do this?
hitek source
share