...

/

A Problem Solved—Computing Deviations

A Problem Solved—Computing Deviations

In this lesson, we will look at an example of array processing. We will read some user-supplied numbers and compute the deviation of each number from the average of all the numbers read.

We'll cover the following...

Problem statement

We wrote some code in this chapter’s first lesson that read numbers from the user and computed their average value. We will now modify that code so that it also computes the ...