Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+What may be the pros and cons of this system for you?

Answered: 1 week ago

Question

1. Who is responsible for resolving this dilemma?

Answered: 1 week ago