Log in

View Full Version : Random numbers!


mralavin
Feb 9, 2014, 11:26 PM
i need to find the highest, lowest and average for my random numbers generated for each run. But right now, the program that I've written, my program is reading the highest, lowest and average for all the runs. The number of runs have no limit and the range and number of random numbers generated are input by the user.

ebaines
Feb 10, 2014, 05:21 AM
And ... what's your question?

ScottGem
Feb 10, 2014, 06:00 AM
Then you need to identify the run. It sounds like you are storing the numbers in some sort of data table. That table should have a field to identify the run (maybe a date/time stamp). Your code would then filter for a specific run.