Jewels and stones: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 1,932: Line 1,932:
0</pre>
0</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|Go}}
{{trans|Go}}
<syntaxhighlight lang="vlang">fn js(stones string, jewels string) int {
<syntaxhighlight lang="v (vlang)">fn js(stones string, jewels string) int {
mut n := 0
mut n := 0
for b in stones.bytes() {
for b in stones.bytes() {