couple newb questions about C

alyarb

Platinum Member
Jan 25, 2009
2,425
0
76
i'm going to have user-defined integers and they have to be between 0-23, 0-100, etc. how do i set this range?

thanks
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Um, why? And why not just verify the number is in range when accepting the input?