Help me in solving DSAAGP08 problem

My issue

Update the size of the array

My code

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

int main(){
	int arr[100] = {2, 4, 6, 8, 10}; // Initial array
    int size = 5; // Current size of the array

    int positionToDelete = 2; // Index of the element to delete

    // Update the code to shift elements to fill the gap left by the deleted element
    
    
    

    // Update the size of the array
    

    // Print the updated array
    for (int i=0 ; i<size ; i++){
        cout<<arr[i]<<"4";
    }

    return 0;
}

Learning course: BCS301: Data structures
Problem Link: https://www.codechef.com/learn/course/abesit-dsa/ABESITDS05/problems/DSAAGP08