| skittlesaddictx50v (47) | |||
I am trying to find a random number in between two variables that the user inputs max and min.I need to do this ten times. I seem to be having trouble. Any pointers on how to fix?
| |||
|
|
|||
| SIK (154) | |
|
(high - low + 1) = double you cannot apply mod [%] operator on non integral types. try changing all you variables to ints. the rest of your logic appears to be good. | |
|
|
|