Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h>
- #include <time.h>
- int main(){
- srand(time(NULL));
- int numerot[29];
- for(int i=0;i<30;i++){
- numerot[i]=rand() % 100 + 1;
- }
- for (int i=0;i<30;i++){
- std::cout << numerot[i] << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement