Sudan function: Difference between revisions

Corrected Swift header tag
(Added Swift implementation)
(Corrected Swift header tag)
Line 1,336:
</pre>
 
=={{header|Swift}}==
{{trans|C}}
I have started working on Swift and am going to practice on RosettaCode. On converting my C implementation to Swift which I contributed last year I found Swift allows statement ending semicolons and enclosing parantheses in if/else statements. I didn't find that anywhere while learning Swift so I am posting both implementations here, the "C like" and the "Pure" Swift.
Line 1,386:
F1(3,3) = 35
</pre>
 
 
=={{header|V (Vlang)}}==
503

edits