Quote:
Originally Posted by Jackoland
I'm doing this at the moment
Rent1=int (rnd(80-150))
|
The others have already answered this, I hope it makes sense. I'd just like to add that you don't need the Int() function in Blitz - the Rnd() function automatically returns an integer when the range is greater than 1. Some other BASICs do need it, but it looks neater without it