// Twice2.cc #include using namespace std; int main() { int N = 34; int x ; for (int i=1; i<=N; i++) { x = random() ; cout << x << " " ; x *= 2 ; cout << x << endl; } }