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
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
Math,
2 months ago
Political Science,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
Math,
4 months ago
Chemistry,
10 months ago
Math,
10 months ago
Hindi,
10 months ago