Q1] Write a program that enters several numbers then generates two matrices one for the odd numbers and the other for the even numbers. Then the program will add the odd numbers and even numbers separately, counts them and computes their average. Finally, the program prints all the results.

icon
Related questions
Question
i need the answer quickly
Q1] Write a program that enters several numbers then generates two
matrices one for the odd numbers and the other for the even
numbers. Then the program will add the odd numbers and even
numbers separately, counts them and computes their average. Finally,
the program prints all the results.
Transcribed Image Text:Q1] Write a program that enters several numbers then generates two matrices one for the odd numbers and the other for the even numbers. Then the program will add the odd numbers and even numbers separately, counts them and computes their average. Finally, the program prints all the results.
Expert Solution
steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.