Paper No: 1
Zoom
Close
Sample input and output:
-Input: n = 2
After processing: result = 1.71
Output for marking:
OUTPUT:1.71
Question 3:
(2 marks)
The given file Q3.c already contains statements to input data for the integer 1-D array and the integer variable named x. You should write statements to count the even elements greater than x in the array.
Notes:
- You can create new functions if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
Input: n = 5
A1 70 4 10
+ 100%