From: Tony Arcieri Date: 2009-11-15T12:08:26+09:00 Subject: Re: How do I get a random number between two random numbers? --001636417d13cb5c94047860346d Content-Type: text/plain; charset=ISO-8859-1 On Sat, Nov 14, 2009 at 7:54 PM, Alex Untitled wrote: > I want to create a program that asks you to guess a number between two > numbers. The problem is that I can't figure out how to make the numbers > that you're guessing between random and have the random number you are > guessing between those two numbers. Does anybody know how to do this? > first + rand(last + 1 - first) -- Tony Arcieri Medioh/Nagravision --001636417d13cb5c94047860346d--