Programming Fundamentals/Loops/VB.NET

Try It
Copy and paste the code above into one of the following free online development environments or use your own compiler / interpreter / IDE.