Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<string.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- srand(time(NULL));
- numero_aleatorio1 = (rand() % 15);
- srand(time(NULL));
- numero_aleatorio2 = (rand() % 15);
- if(numero_aleatorio1 == i){ printf("Saliendo\n"); return 0;
- }
- else if(numero_aleatorio2 == j){ printf("Saliendo\n"); return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement