Help me in solving DSAAGP09 problem

My issue

solution

My code

#include <bits/stdc++.h>
using namespace std;

int main(){
	int arr1[100] = {2, 4, 6}; // First array
    int size1 = 3;

    int arr2[100] = {8, 10, 12, 14}; // Second array
    int size2 = 4;

    // Update the code below to solve the problem
    int merged arr[100]={2,4,6+8,10,12,14};
    int merged size=3+4;
    
    
    
    
    
    
    
    
    
    // Print the merged array
    for(int i=0 ; i<mergedSize ; i++){
        cout<<merged[i]<<" ";
    }

    return 0;
}

Learning course: Data Structures and Algorithms
Problem Link: https://www.codechef.com/learn/course/dsa-detailed/DSAAG01/problems/DSAAGP09