/sea-b20-day1hw-MeanMedianModeNode

Mean, Median, and Mode (using Node)

Primary LanguageJavaScript

Mean Median Mode Node

Requires node.js

##How to Use##

Step 1: Navigate to the folder that contains meanmedianmode.js in Terminal.

Step 2: Type: node meanmedianmode.js followed by a series of space-separated numbers.

node meanmedianmode.js 10 2 1 5 6788 3 0 5 5

Step 3: Press ENTER

Step 4: Program outputs the mean, median, and mode in the console.

Mean: 757 // Median: 5 of sorted numbers: 0,1,2,3,5,5,5,10,6788 // Mode: 5