Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <time.h>
- using namespace std;
- int main()
- {
- int liczba;
- srand(time(NULL));
- for(int i=1; i<=3; i++)
- {
- liczba = rand()%10;
- cout << liczba << endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment