Skip to content

Command line based Currency converter and Calculator Written in GoLang

Notifications You must be signed in to change notification settings

DeepanNarayanaMoorthy/Curr-nd-Calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

curr-n-calc

This is a Command Line Based Currency Converter and calculator with budget tracker and phonebook included, written in GoLang

⚫ For a particular Currency

go build curr-nd-calc.go
./curr-nd-calc -from=USD -to=INR 

⚫ For All Currency

go build curr-nd-calc.go
./curr-nd-calc -from=USD -to=all 

⚫ For Calculator

go build curr-nd-calc.go
./curr-nd-calc -calc=3*(1+2(3*4)-22) 

⚫ For Adding Contact

go build curr-nd-calc.go
./curr-nd-calc -cont=JohnDoe,9876543210,MyDad 

⚫ For Adding Budget info

▶️▶️ Lets say that I have spent $234 in laptop service, This is expenditure so " - " (minus) sign will be specified

go build curr-nd-calc.go
./curr-nd-calc -fin=234,laptop service,- 

▶️▶️ If I have got $234 as loan from a friend, This is return so " + " (plus) sign will be specified

go build curr-nd-calc.go
./curr-nd-calc -fin=234,loanfromfriend,+ 

⚫ For calculating profit or loss and see budget info

go build curr-nd-calc.go
./curr-nd-calc -finres=y

PS : This is just a small code, feel free to comment or contribute 😉