RosettaCodeData/Task/Sort-three-variables/Julia/sort-three-variables.jl

10 lines
188 B
Julia
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
# v0.6
a, b, c = "lions, tigers, and", "bears, oh my!", "(from the \"Wizard of OZ\")"
a, b, c = sort([a, b, c])
@show a b c
a, b, c = 77444, -12, 0
a, b, c = sort([a, b, c])
@show a b c