8 lines
173 B
Text
8 lines
173 B
Text
def arithmetic(a :int, b :int) {
|
|
return `$\
|
|
Sum: ${a + b}
|
|
Difference: ${a - b}
|
|
Product: ${a * b}
|
|
Quotient: ${a // b}
|
|
Remainder: ${a % b}$\n`
|
|
}
|