Anonymous user
Arithmetic/Integer: Difference between revisions
m
→{{header|Groovy}}: cosmetic changes
(Add min) |
m (→{{header|Groovy}}: cosmetic changes) |
||
Line 1,851:
=={{header|Groovy}}==
'''Solution:'''
<lang groovy>def arithmetic = { a, b ->
println """
Line 1,866 ⟶ 1,867:
}</lang>
'''Test:'''
<lang groovy>arithmetic(5,3)</lang>
|