View the step-by-step solution to:

Define an array studentMarks and use an initializer list to set the values to:5, 45, 73.5, 56.1, 48, 80.5, 53.6, 56.5 and 61. Calculate the sum of...

Define an array studentMarks and use an initializer list to set the values to: 67.5, 45, 73.5, 56.1, 48, 80.5, 53.6, 56.5 and 61.
Calculate the sum of all the elements in the array. Display the answer only once.
Calculate and display the average of the values.
Display all the marks that are below the average.
Use a for loop to find the highest value in the array (don’t sort the array).
Use a for loop to find the lowest value in the array (don’t sort the array).
Count the number of values greater than 55. Display the answer only once

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question