Posted By: yasha |
5/15/2006 4:52:00 AM |
|
|
hi c gurus,
i been practicing some c function and one of them is rand().
rand()%4 means that i can have random numbers from 0 to 4 but what if i need a random numbers from 2 to 4 only, can i do that? it would really be great if you can give some info..
thanks a lot!
yasha
|
|