Random numbers
write a console application program to generate 1000 integers between 1 and 5 in a random fashion such that 1 occur 22% of the time, 2 occur 12% of the time, 3 occur 30% of the time, 4 occur 26% of the time and 5 occur 10% of the time
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Mar 31, 2013, 8:21 PM EDT