Programming Example
Example 3: Double Array: Write a Java program to update array elements at three different positions: start, middle, and end. Provide 3 different examples using user input for double arrays.
Study this program carefully to understand the logic, output, and explanation in a structured way.