Skip to content

Asks user to manually enter numbers, and then averages the sum of the numbers.

Notifications You must be signed in to change notification settings

LEDparty/get-average

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

About

A simple program that accepts values indefinetly from the user, and then automatically averages them: best used in situations where you can't pull stats with an API or use raw text data.

Installation

If you have not built C programs on linux, you may have to install the C build essentials first:


sudo apt-get install build-essential

Clone and run the makefile (just copy and paste these commands):


git clone https://github.com/LEDparty/get-average
cd get-average
make
sudo install average /urs/local/bin

Usage

Just run the program with no arguments, and it will keep asking you to enter values until you enter "ok" or some other non-floating point or integer input:


average

About

Asks user to manually enter numbers, and then averages the sum of the numbers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published