Combinations and permutations: Difference between revisions

Content added Content deleted
Line 3,213: Line 3,213:
{{trans|zig}}
{{trans|zig}}


Almost a verbatim port... the logic is retained but I renouce to use `io::stdout()`. I wonder why f64?!
Almost a verbatim port... the logic is retained but I renouce to use `io::stdout()`, `println!()` is enough. I wonder why f64?!


<syntaxhighlight lang="rust">
<syntaxhighlight lang="rust">