|
-
Sep 20th, 2010, 02:47 PM
#1
Thread Starter
Member
recieve upper bound and lower bound of a range
Is there anyone who can tell me the code for the below?
Receive a lower bound and an upper bound of a range. Also receive a number of random numbers to generate.
You must validate
1) the numbers are integers
2) the lower bound is less than or equal to the upper bound
3) the number to generate is positive (i.e., > 0).
Generate this many numbers in the specified range and keep track of how many of each are generated in an array of counters.
Once all the numbers have been generated, display in a List Box the number, the raw count data, and the percentage of
how many times the number was generated displayed with two decimal places of precision.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|