Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int j = 0;
- while (j < 10){
- for (int i = 0 ; i < 5 ;i++){
- int num = rand() % 6 + 1;
- cout << num;};
- j++;
- cout << "\n";};
- }
Advertisement
Add Comment
Please, Sign In to add comment