#include #include using namespace std; int main() { int i; int num; // cout << "The time is " << time(nullptr) << endl; srand(time(nullptr)); for(i = 0 ; i < 10 ; ++i) { num = rand(); cout << " i = " << i << " " << setw(10) << num << " " << num % 6+1 << endl; } return 0; }