1234567
for(int i = 0; i < 4; ++i) { cout << "X: "; cin >> points[i * 2]; cout << "Y: "; cin >> points[(i * 2) + 1]; }