EKG sequence convergence: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(Rename "Vlang" in "V (Vlang)")
Line 1,418: Line 1,418:
</pre>
</pre>


=={{header|Vlang}==
=={{header|V (Vlang)}}==
{{trans|Go}}
{{trans|Go}}
<syntaxhighlight lang="vlang">fn gcd(aa int, bb int) int {
<syntaxhighlight lang="v (vlang)">fn gcd(aa int, bb int) int {
mut a,mut b:=aa,bb
mut a,mut b:=aa,bb
for a != b {
for a != b {