Skip to main content

Help Please.... Need help with a Little more advanced Random # Generator!

1 reply [Last post]
S_Ryan
Offline
Joined: 2011-05-10

Well, I'm in a bit of a predicament. I'm trying to create a random number generator with user input. I want the user to be able to input the second range number (1 to 100 <----), so they can specify the range of the generated number. So far, I'm off to a good start. But, I can't figure out how to use the input as my random number range. I understand how to manually put in the range, but I want to be able to input it in. Help please!!!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
S_Ryan
Offline
Joined: 2011-05-10

I also know how to input, just don't understand why it won't let me use an int name instead of number for the range.