//C++ #include using namespace std; int main() { int arr[10]; for (int i=1; i<=10; i++) { if (i&1) { arr[i]=i; } else { arr[i]=3*i; } cout << "a["<