Loops/Increment loop index within loop body: Difference between revisions

Content added Content deleted
imported>Joeypas
imported>Joeypas
Line 5,272: Line 5,272:


=={{header|zig}}==
=={{header|zig}}==
{{trans|c}}
<syntaxhighlighting lang="zig">const std = @import("std");
<syntaxhighlight lang="zig">const std = @import("std");


pub fn isPrime(n: i64) bool {
pub fn isPrime(n: i64) bool {