Thread
:
Need help with generating random numbers
View Single Post
10-11-2012, 08:17 AM
PM User
|
#
2
nehadas87
New Coder
Join Date: Jun 2011
Location: India
Posts: 23
Thanks: 1
Thanked 1 Time in 1 Post
try this, num = 100 + rand() % 899;
__________________
God is Great !!
nehadas87
View Public Profile
Visit nehadas87's homepage!
Find More Posts by nehadas87