diff options
Diffstat (limited to 'visualbasic.html.markdown')
-rw-r--r-- | visualbasic.html.markdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/visualbasic.html.markdown b/visualbasic.html.markdown index 221c1eb3..b79017dc 100644 --- a/visualbasic.html.markdown +++ b/visualbasic.html.markdown @@ -5,7 +5,7 @@ contributors: filename: learnvisualbasic.vb --- -``` +```visualbasic Module Module1 Sub Main() @@ -102,7 +102,8 @@ Module Module1 Console.WriteLine("Hello, What is your name? ") 'Ask the user their name. username = Console.ReadLine() 'Stores the users name. Console.WriteLine("Hello " + username) 'Output is Hello 'Their name' - Console.ReadLine() 'Outputs the above. + Console.ReadLine() 'Pauses the execution for user to read + 'The above will ask you a question followed by printing your answer. 'Other variables include Integer and we use Integer for whole numbers. End Sub |