Commit Graph

2 Commits

Author SHA1 Message Date
John Long
71c7541905 Switch to readln
readln throws an exception when a file hits EOF, wheras readLine returns null. That puts us in an infinite loop if we hit EOF.
2022-01-05 23:22:46 -08:00
John Long
48522ba27d Add Kotlin version of Animal
Animal fascinated me as a kid. I wrote a version in Modula-2 for a Junior High School project. Didn't realize at the time I was studying binary trees.
2022-01-02 16:26:35 -08:00