Do anyone of you know how to keep a random number generator value the same when i output it? I'm currently creating a leader board where it allows user to enter their name, enter how many player are playing, and have a random number generator generate 10 value and adding them together into one total score. So far, I have generated the total score and i plan to output as "Welcome (player name) your total score is (total score value)", this process is then repeated until all player's name is outputted. After that, i plan to use an array and array sort to display the player's score from highest to lowest. But the problem is that i don't know how do i keep the "total score" value the same as the one i displayed to the one that outputs the player's name and score and the "leaderboard" since the random number generator will keep generating new number values. Some help would be greatly appreciated. Thank you. Here is what i have done so farDo anyone of you know how to keep a random numb