Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <conio.h>
- #include <iostream>
- using namespace std;
- using namespace System;
- int main()
- {
- Random x;
- int *A = new int[10];
- for (int i = 0; i < 10; i++)
- {
- A[i] = x.Next(1, 7);
- cout << A[i] << ' ';
- }
- _getch();
- return 0;
- }
Add Comment
Please, Sign In to add comment