Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Integer-comparison/Julia/integer-comparison.julia
Normal file
10
Task/Integer-comparison/Julia/integer-comparison.julia
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
function compare()
|
||||
int1 = readline(stdin)
|
||||
int2 = readline(stdin)
|
||||
print(int1, " is ",
|
||||
int1 < int2 ? "less than " :
|
||||
int1 == int2 ? "equal to " :
|
||||
int1 > int2 ? "greater than " :
|
||||
"uncomparable to",
|
||||
int2)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue