Water collected between towers: Difference between revisions
m
→{{header|Visual Basic .NET}}: Forgot to halve the result, since I doubled the blocks.
m (→{{header|C sharp|C#}}: Forgot to halve result because blocks were doubled.) |
m (→{{header|Visual Basic .NET}}: Forgot to halve the result, since I doubled the blocks.) |
||
Line 1,264:
' Then count the remaining characters with the Len() function.
Console.Write("Block {0} retains {1,2} water units.{2}", i + 1,
Next
End Sub</lang>
|