Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int i, n;
- time_t t;
- n = 4;
- srand((unsigned) time(&t));
- for( i = 0 ; i < n ; i++ ) {
- printf("%d", rand() % 6+1);
- }
- return(0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement