using namespace std;
int main() {int arr[] = {14, 25, 34, 47, 58, 64};int n = sizeof(arr) / sizeof(arr[0]);
}
using namespace std;
int main() {
for (int i = 0; i < n; i++) {int arr[] = {14, 25, 34, 47, 58, 64};
int n = sizeof(arr) / sizeof(arr[0]);
if (arr[i] % 10 == 4) {
arr[i] /= 2;
}
}
cout << "Modified array: ";
for (int i = 0; i < n; i++) {
cout << arr[i] << " ";
}
return 0;
}