Skip to content

RazerStvH/fibonacchi-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fibonacchi-go

A simple program for calculating an array of Fibonacci numbers and writing them to a file.

Build

$ git clone https://github.com/RazerStvH/fibonacchi-go.git
$ cd fibonacchi-go
$ go build fibonacchi-go.go

If you want to install

$ sudo cp fibonacchi-go /usr/bin

Usage

Usage of ./fibonacchi-go:
  -n int
    	The number up to which to calculate the Fibonacci sequence (default 10)
  -o string
    	The name of the output file to record the result (default "output.txt")

Warning

Do not specify too large numbers because the output file may be too large.

About

A simple program for calculating Fibonacci numbers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages