minion/int.mn
2022-06-15 18:08:41 +02:00

26 lines
494 B
Text

func: print(number: x, string: new) = {
stdout: out = x
stdout: newline = new
}
string: new = {
}
number: test = 5
number: another
another = 5.5
number: third = test + another
number: fourth = test - another
number: fifth = test * another
number: sixth = test / another
number: seventh = test % another
number: eighth = 7 % test
number: nineth = 7 + 5
print(third, new)
print(fourth, new)
print(fifth, new)
print(sixth, new)
print(seventh, new)
print(eighth, new)
print(nineth, new)