Created
August 29, 2018 12:42
-
-
Save tomekw/881700575a82cb39e4cb50f69b3d77b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file: src/main/kotlin/com/_98elements/Calculator.kt | |
package com._98elements | |
object Calculator { | |
fun add(a: Int, b: Int) = a + b | |
fun divide(a: Int, b: Int) = a / b | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment