Advertisement
hmcristovao

Lista 03 - exercício 04

May 11th, 2012
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4. int main() {
  5.     int i;
  6.     srand(time(NULL));
  7.     for(i=0; i<=100; i++) {
  8.        printf("%d\t", rand());
  9.     }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement