Minimum number of cells after, before, above and below NxN squares: Difference between revisions
Minimum number of cells after, before, above and below NxN squares (view source)
Revision as of 11:26, 16 October 2022
, 1 year ago→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
|||
Line 2,489:
</pre>
=={{header|V (Vlang)}}==
{{trans|Go}}
<syntaxhighlight lang="v (vlang)">fn print_min_cells(n int) {
println("Minimum number of cells after, before, above and below $n x $n square:")
for r in 0..n {
|