using namespace std;
int main() {int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};int length = sizeof(arr) / sizeof(arr[0]);
}
using namespace std;
int main() {
for (int i = 0; i < length; i++) {int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
int length = sizeof(arr) / sizeof(arr[0]);
if (arr[i] > 7) {
arr[i] = 17;
}
}
cout << "{";
for (int i = 0; i < length; i++) {
cout << arr[i];
if (i < length - 1) {
cout << ", ";
}
}
cout << "}" << endl;
return 0;
}