Computer Science, asked by puchkikundu9, 2 months ago

Question 5
[15]
Write a program to create a single dimensional array with 10 elements to store integers and
print the position of largest and least integer value, print all the integers which are
greater than the average of all numbers​

Answers

Answered by aarushisingh039
0

Answer:

The solution is to initialize max as first element, then traverse the given array from second element till end. For every traversed element, compare it with max, if it is greater than max, then update max.

Explanation:

plzzzz mark me as brainliest and follow me

Similar questions