RosettaCodeData/Task/Integer-comparison/Dyalect/integer-comparison.dyalect
2023-07-01 13:44:08 -04:00

9 lines
144 B
Text

func compare(a, b) {
if a < b {
"A is less than B"
} else if a > b {
"A is more than B"
} else {
"A equals B"
}
}