10 lines
144 B
Text
10 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"
|
||
|
|
}
|
||
|
|
}
|