Jump to content

Modulinos: Difference between revisions

No edit summary
Line 1,535:
[[Category:Scala Implementations]]
{{libheader|Scala}}
{{works with|Scala|2.10.2}}
===Unix shell script===
This code must be stored as a shell script.
Line 1,548 ⟶ 1,549:
println(collatz.toList)
println(s"It has ${collatz.length} elements.")</lang>
===Windows Command ScripScript===
This code must be stored as a Windows Command Script e.g. Hailstone.cmd
<lang winbatch>::#!
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.