Notes:
Do not edit given statements in the main function.
- You can create new functions if you see it is necessary.
Sample input and output:
Input:
How many elements do you want to enter into the integer array? [1..100] 6
2
5
4
1
6
3
After processing: s = 2+5+3 = 10
Output for marking:
OUTPUT:
10
Question 4:
(3 marks)
Zoom
+ 100%
Close