Smith numbers: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 4,756: | Line 4,756: | ||
(376 total)</pre> |
(376 total)</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|Go}} |
{{trans|Go}} |
||
<syntaxhighlight lang="vlang">fn num_prime_factors(xx int) int { |
<syntaxhighlight lang="v (vlang)">fn num_prime_factors(xx int) int { |
||
mut p := 2 |
mut p := 2 |
||
mut pf := 0 |
mut pf := 0 |