June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1,18 @@
|
|||
function test(x, y)
|
||||
if x < y
|
||||
println("x is less than y")
|
||||
elseif x > y
|
||||
println("x is greater than y")
|
||||
else
|
||||
println("x is equal to y")
|
||||
end
|
||||
end
|
||||
|
||||
julia> test(1, 2)
|
||||
x is less than y
|
||||
|
||||
julia> test(2, 1)
|
||||
x is greater than y
|
||||
|
||||
julia> test(1, 1)
|
||||
x is equal to y
|
||||
Loading…
Add table
Add a link
Reference in a new issue