ramontricolor12

LISTA 03 - Exercício 04

Jun 15th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4.  
  5. int main()
  6. {
  7.     int i, valor;
  8.     srand(time(NULL));
  9.  
  10.     for(i = 0; i < 10; i++)
  11.     {
  12.         valor = rand();
  13.         printf("%d\n", valor);
  14.     }
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment