Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Write a program using a While loop to calculate the mean (average) of a series of numbers. The user will specify how many values

C++

Write a program using a While loop to calculate the mean (average) of a series of numbers. The user will specify how many values they have and will enter each value. Display the mean and the total number of values entered. Do NOT use an array in this program.

Use the following sample data to test your program:

RUN 1: 12, 5, 8, 15, 9

RUN 2: 100, 150, 127, 144, 139, 101, 161, 127, 133, 108

RUN 3: .4, .75, .6, .43, .57, .87

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

2. Are my sources up to date?

Answered: 1 week ago