Dutch national flag problem: Difference between revisions
Content added Content deleted
(Corrected logic mistake) |
|||
Line 1,875: | Line 1,875: | ||
printf @"Sorted balls:\n\t%@", fn StringWithFormat( @"%@%@%@", secondColorString, firstColorString, thirdColorString ) |
printf @"Sorted balls:\n\t%@", fn StringWithFormat( @"%@%@%@", secondColorString, firstColorString, thirdColorString ) |
||
end fn |
end fn |
||
fn SortBalls |
|||
HandleEvents |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{output}} |
{{output}} |