Question: Given an array of integers, the program needs to compute and display the following: The program needs to implement functions, arrays, loops, conditions and passing
Given an array of integers, the program needs to compute and display the following:
The program needs to implement functions, arrays, loops, conditions and passing parameters to the functions.
Sum of even numbers
Sum of odd numbers
Total sum of even and odd numbers
Mean of even numbers
Mean of odd numbers
Mean of all numbers
Prime numbers in the list
Maximum and minimum of even numbers
Maximum and minimum of odd numbers
Maximum and minimum of all numbers
The program needs to compile and run without errors. every output has to be on its own line.
Programs that are copied from the internet or any program thar are copies of each other will not be graded.
Test it on mars and make sure the code will work. I will leave a thumbs up
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
