Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. #include <stdlib.h>
  4. #include <time.h>
  5.  
  6. int n;
  7.  
  8. main()
  9.  
  10. {
  11.  
  12. srand ( time(0));
  13.  
  14. n = rand()%100+1;
  15.  
  16. printf("nahodne cislo je %d",n);
  17. getche();
  18.  
  19.  
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement