Skip to content

Flitig/Register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Register

Run by typing the following in terminal window:

cat (input file) | java -classpath (path to Main.class) com.flitig.Main > (output file)

Takes the contents of a piped textfile on stdin and outputs result on stdout. Program requires well formated input and doesn't handle duplicates. This is according to specification.

Example of input.txt:

add check account Bankkonto
add expense account Livsmedel
add expense account Hyra
add income account Inkomst
transaction from:Inkomst   to:Bankkonto 1000
transaction from:Bankkonto to:Livsmedel 50
transaction from:Bankkonto to:Hyra      250
transaction from:Inkomst   to:Bankkonto 1000
transaction from:Bankkonto to:Hyra      250

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages