#include #include using namespace std; int main() { int i, x, y; srand(time(NULL)); i = 0; while (i < 4) { x = rand(); y = x % 6 + 1; cout << x << "\t" << y << endl; i = i + 1; } return 0; }