Question 3:(2 marks)
3 of 4
Paper No: 1
The given file Q3.c already contains statements to input data for the one-dimensional array of integers.You should write statements so that find the biggest number in an array.
Notes:
- Do not edit given statements in the main function.
- You can create new function(s) 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] 5
a[0] = 3
a[1] = 4
a[2] = 2
a[3] = 8
a[4] = 7
After processing: max = 8
Output for marking:
+ 100%
Zoom
Close