Traversals Problems

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8

Outliers Continued

Continue building a program that finds all the outliers in a column. In this program, add a counter variable for outliers. Then have the program output the number of outliers found. If no outliers are found, output a message that tells the user that no outliers were found. You should expect the program to output the following when it is working.

200.0 is an outlier.
1 outliers found.

Once you have a functioning program, search the other columns for outliers to test different outcomes by changing the parameter 9 to 8 in two different blocks. For example, column 8 has no outliers and produces the following output.

No outliers found.

Coding:

Blocks

PreviousNext