11 lines
153 B
Text
11 lines
153 B
Text
> (slurp '"arith.lfe")
|
|
#(ok arith)
|
|
> (demo-arith)
|
|
Please enter two integers: 2 8
|
|
2 + 8 = 10
|
|
2 - 8 = -6
|
|
2 * 8 = 16
|
|
2^8 = 256.0
|
|
2 div 8 = 0
|
|
2 rem 8 = 2
|
|
ok
|