2024-08-05 18:47:24 +02:00

13 lines
182 B
Plaintext

main() {
x := 1000
result := div10(x) / 10 + div(x, 100) * 4 - 40 - x + x
assert result == 10
}
div(x Int, y Int) -> Int {
return x / y
}
div10(x Int) -> Int {
return x / 10
}