Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- int main (){
- int cont= 0;
- do{
- int num=rand()%5+5;
- cont++;
- printf("%d\n", num);
- } while(cont<20);
- return 0;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement