Loops/Increment loop index within loop body: Difference between revisions
Content added Content deleted
imported>Joeypas |
imported>Joeypas m (→{{header|zig}}) |
||
Line 5,272: | Line 5,272: | ||
=={{header|zig}}== |
=={{header|zig}}== |
||
{{trans|c}} |
|||
< |
<syntaxhighlight lang="zig">const std = @import("std"); |
||
pub fn isPrime(n: i64) bool { |
pub fn isPrime(n: i64) bool { |