Skip to content

CostaSkyrim/math-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statistics Calculator

A simple Go program that calculates statistical metrics (average, median, variance, and standard deviation) for a list of integers stored in a text file.

Overview

This program reads a text file containing integers (one per line), computes various statistics, and prints the results to the console. It is useful for quickly analyzing data sets without the need for complex software.

Features

  • Computes the following statistics:
    • Average
    • Median
    • Variance
    • Standard Deviation
  • Simple command-line interface
  • Handles errors gracefully with appropriate exit codes

Prerequisites

  • Go programming language installed on your machine (version 1.14 or higher recommended).

Installation

  1. Clone the repository or download the source code:
    git clone https://platform.zone01.gr/git/kpetrout/math-skills
    cd math-skills
    

Usage

go run . data.txt or go run main.go data.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages