At 12/9/2009 06:39 AM, you wrote: >On Wed, Dec 9, 2009 at 6:29 AM, johnmatthews2000 <[email protected]> wrote: > > --- In [email protected], "Bill Cunningham" <bill...@...> wrote: > >> > >> Now where do I stick the modulus at here to get single digit numbers? > > > > (with corrections) > > > > printf("%i\n", rand() % 10); > >http://c-faq.com/lib/randrange.html > >-- >PJH
Good link, Paul. Thanks. ~Rick
