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:
Hotkey Shortcuts
Move BlocksUP or DOWN or TAB
Run Program ALT + SHIFT + R
Stop Program ALT + SHIFT + S
Hide Tray ALT + SHIFT + X
Zoom In ALT + +
Zoom Out ALT + -
Open Help ALT + SHIFT + H
Navigate to Tray ALT + 1
Navigate to Blocks ALT + 2
Enter Navigation Mode SHIFT + ENTER
Switch to Next Tab CTRL + Tab
Switch to Previous TabCTRL + Shift + Tab
Blocks
Hint
Great job!
Try again
Drop in the counter variable with the other variable difinitions. Then add to the counter when an outlier is found. Finally at the end of the program use an if-else block to output the number of outlier found, otherwise output "no outliers found."