Question: ed Single File Programming Question erver ore Problem Statement Write a program to get N integer inputs in an array. Select an element from the

ed Single File Programming Question erver ore Problem Statement Write a program to get N integer inputs in an array. Select an element from the array and count the following: The number of elements that are greater than the selected element The number of elements that are lesser than the selected element The number of elements that are exactly divisible by the selected element Input format : The first line of input consists of the size of the array N. The second line of input consists of N elements of the array, separated by space. The third line of input consists of the selected element from the array. Output format: The first line of output prints the number of elements greater than the selected element. Marks: 10 Negative Marks : 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!