#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { /* initialize random generator */ srand ( time(NULL) ); /* generate some random numbers */ printf ("A number between 0 and RAND_MAX (%d): %d\n", RAND_MAX, rand()); printf ("A number between 0 and 99: %d\n", rand()%100); printf ("A number between 20 and 29: %d\n", rand()%10+20); return 0; } Ok, so I'm bored... *sigh*
Hahaha yes, I think that pretty well sums up DopeSickKid. He's proven himself in other threads to be yet another troll. Amazing the idiots this place attracts. Like flies to a shit bucket. Well, I'm no fly. I'm outta here.