Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Random numbers! (https://www.askmehelpdesk.com/showthread.php?t=783969)

  • Feb 9, 2014, 11:26 PM
    mralavin
    Random numbers!
    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.
  • Feb 10, 2014, 05:21 AM
    ebaines
    And ... what's your question?
  • Feb 10, 2014, 06:00 AM
    ScottGem
    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.

  • All times are GMT -7. The time now is 03:02 AM.