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:Enter n= 7013
After processing: result = 7*1*3=21
Output for marking:
Processing:
OUTPUT:21
Question 3:(2 marks)
3 of 4
Paper No: 1
The given file Q3.c already contains statements to input data for the integer 1-D array named a and two integer variables named x and y. You should write statements to count all prime numbers in an array that are greater than or equal to x and less than or equal to y (the prime numbers start from 2).
Notes:
+ 100%
Zoom
Close