Problem Statement
You are given an array of integers. Your task is to modify specific elements and then print the updated array.
Requirements
- Read an integer
n, representing the size of the array. - Read
nintegers to fill the array. - Change the third element (index 2) to
3. - Change the fourth element (index 3) to
0. - Print each element of the modified array on a new line.