Computer Science, asked by rabiiraja213, 1 month ago

Suppose that you have an array of 10 integer values. Write a program that accepts each
element in the array from the user, and finds the following:
a. The minimum number in the array
b. The maximum number in the array
c. Average of all values in the array
d. Sum of the numbers present from index [2] to index [7]
e. Identify how many times ‘5’ was found in the array.
f. Identify all the odd numbers in the array
g. Sum of all odd numbers in the array
h. Identify even numbers in the array
i. Sum of all even numbers in the array
j. Identify count of even numbers and odd numbers in the array.
k. Identify numbers which are divisible by 2 and 5.

Answers

Answered by rithishvel28102008
1

Answer:

Can you tell class, subject, and book name.

Explanation:

Similar questions
Math, 1 month ago