Question: Qustion 1 : write C + + programe * Write a C + + program that: Q 1 : Ask the user to enter an

Qustion 1: write C++ programe *
Write a C++ program that:
Q1:
Ask the user to enter an array of 10 integer numbers, and then do the following:
Prints the average of the even elements in the array, if no even number prints out 0.
Print the minimum odd element of the array with its index, if there are no odds print the "NO ODDS" message.
Example :
Enter 10 numbers:
\table[[22,30,65,1,2,22,22,30,9,1]]
Average of even element =21.3333
The minimum odd number =1
 Qustion 1: write C++ programe * Write a C++ program that:

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!