Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main()
- {
- int tab[10];
- srand(time(NULL));
- for(int i=0; i<10; i++)
- {
- tab[i] = rand()%50+1;
- cout<<tab[i]<<endl;
- }
- return 0;
- }//Nie mam pojecia o co chodzi w tym zadaniu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement