You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Chris e68a4f2740 typo review 3 years ago
..
audit typo review 3 years ago
README.md typo review 3 years ago

README.md

math-skills

Objectives

The purpose of this project is for you to calculate the following:

  • Average
  • Standard Deviation
  • Variance
  • Median

Instructions

Your program must be able to read from a file and print the result of each statistic mentioned above. In other words, your program must be able to read the data present in the path passed as argument. The data in the file will be presented as the following example:

189
113
121
114
145
110
...

This data represents a graph in which the values of the x axis are the number of the lines (0, 1, 2, 3, 4, 5 ...) and the values of the y axis are the actual numbers (189, 113, 121, 114, 145, 110...).

To run your program a command similar to this one will be used if your project is made in Go:

>$ go run your-program.go data.txt

After reading the file, your program must execute each of the calculations asked above and print the results in the following manner (the following numbers are only examples):

Average: 35
Standard Deviation: 65
Variance: 5
Median: 4

Please note that the values are rounded integers.

Testing

Your program will be tested by an auditor who will run a program provided by us. This program creates a random data set of numbers and prints the result. The auditor job is to compare how your program performed.

You can choose the language in which you want to build your program.

This project will help you learn about: