Mega Code Archive

 
Categories / C / Math
 

Work with random number

#include <stdlib.h> #include <stdio.h> int main(void) {   int i;   for(i=0; i<10; i++)     printf("%d ", rand());   return 0; }