Guest User

Untitled

a guest
Jan 17th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. int zahl=0;
  7. int i=0;
  8. int s=0;
  9.  
  10.  
  11. printf("Geben sie den Startwert ein.\n");
  12. scanf("%d",&s);
  13. printf("\n\nZufallszahlen:\n");
  14. void srand(unsigned int s);
  15.  
  16.  
  17. for (i=1; i <=6; i++){
  18.  
  19. zahl=(rand());
  20. printf("%d\n",zahl);
  21.  
  22. }
  23. system("PAUSE");
  24. return 0;
  25. }
Add Comment
Please, Sign In to add comment