Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- //#include<conio.h>
- #include<time.h>
- #include<stdlib.h>
- void main()
- {
- int i;
- srand(time(NULL));
- for (i=10;i>=0;i--) {
- int r = rand();
- printf("%d\n",r);
- }
- //getch();
- system ("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment