13 lines
156 B
Plaintext

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