Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
29
Task/Integer-comparison/Efene/integer-comparison.efene
Normal file
29
Task/Integer-comparison/Efene/integer-comparison.efene
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
compare = fn (A, B) {
|
||||
if A == B {
|
||||
io.format("~p equals ~p~n", [A, B])
|
||||
}
|
||||
else {
|
||||
ok
|
||||
}
|
||||
|
||||
if A < B {
|
||||
io.format("~p is less than ~p~n", [A, B])
|
||||
}
|
||||
else {
|
||||
ok
|
||||
}
|
||||
|
||||
if A > B {
|
||||
io.format("~p is greater than ~p~n", [A, B])
|
||||
}
|
||||
else {
|
||||
ok
|
||||
}
|
||||
}
|
||||
|
||||
@public
|
||||
run = fn () {
|
||||
compare(5, 5)
|
||||
compare(6, 5)
|
||||
compare(4, 5)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue