Question
NEEDS TO BE DONE IN C++ Write a program that uses an array to find the Average of 10 double values. Allow the use to
NEEDS TO BE DONE IN C++
Write a program that uses an array to find the Average of 10 double values.
Allow the use to enter values for the 10 double numbers. A for loop will facilitate the user input of the 10 random values.
Then use a different for loop to iterate through the array summing the total for all 10 double values.
Create 1 method to handle user input
Create 1 method to sum and output average of all numbers in array
Create 1 method to output the list of numbers.
Output the list of numbers input by user.
Output the average of all the numbers.
Attach Snipping photos of source code and output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started