Loops/Do-while: Difference between revisions
Content deleted Content added
Added DWScript |
add scala |
||
Line 858: | Line 858: | ||
end; |
end; |
||
end;</lang> |
end;</lang> |
||
=={{header|Scala}}== |
|||
<lang scala>var x=0 |
|||
do { |
|||
println(x) |
|||
x+=1 |
|||
} while(x%6!=0)</lang> |
|||
=={{header|Scheme}}== |
=={{header|Scheme}}== |