#C9883. Increment Array Elements
Increment Array Elements
Increment Array Elements
You are given an array of integers. Your task is to increment each element by 1 and output the resulting array. For each element \(x\), compute \(x+1\). This problem will test your ability to handle basic input/output operations and array manipulation in various programming languages.
inputFormat
The first line contains an integer \(n\), representing the number of elements in the array. The second line contains \(n\) space-separated integers representing the elements of the array.
outputFormat
Output a single line with \(n\) space-separated integers, each being the original integer incremented by 1.
## sample3
1 2 3
2 3 4