r_drive0.c 276 B

1234567891011121314
  1. /* r_drive0.c -- test the rand0() function */
  2. /* compile with rand0.c */
  3. #include <stdio.h>
  4. extern unsigned int rand0(void);
  5. int main(void)
  6. {
  7. int count;
  8. for (count = 0; count < 5; count++)
  9. printf("%d\n", rand0());
  10. return 0;
  11. }