Integrated Development Environment
Open Visual Basic and you will see the following screen
Select File, New Project

And the following screen will appear
We are going to start with Console Application (no GUIs) and cover Windows Application (GUIs) later
Select Console Application

And you are now in the code writing section shown below

Type the code as shown

Run the Program
Note: To enable the output to stay on the screen, do the following (one time only)
Select Tools, Customize, then select the Commands tab at the top.
Select Debug from the Categories Pane on the left.
Scroll down to the Start Without Debugging option in the Debug Menu
Drag the Start Without Debugging option over the Debug menu in the IDE (in top menu)
Start Without Debugging now appears in the menu - use this in the future to run programs
To run programs click Debug at top and Start Without Debugging