summaryrefslogtreecommitdiffhomepage
path: root/visualbasic.html.markdown
diff options
context:
space:
mode:
authorioab <a@ioab.net>2015-11-08 23:46:41 +0300
committerioab <a@ioab.net>2015-11-08 23:46:41 +0300
commitd50fc51aa615267ab78d18e046e94ec68529fdeb (patch)
tree40d48942571a416f1edd35204b5636992fbc7aa2 /visualbasic.html.markdown
parentdd7afafc9473390cfd42be9e2fa93657dbdabbae (diff)
correction
Diffstat (limited to 'visualbasic.html.markdown')
-rw-r--r--visualbasic.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/visualbasic.html.markdown b/visualbasic.html.markdown
index 30d03f77..0371e6f6 100644
--- a/visualbasic.html.markdown
+++ b/visualbasic.html.markdown
@@ -126,7 +126,7 @@ Module Module1
'Of course we would like to be able to add up decimals.
'Therefore we could change the above from Integer to Double.
- 'Enter a floating-point number, 1.2, 2.4, 50.1, 104.9 etc
+ 'Enter a floating-point number, 1.2, 2.4, 50.1, 104.9, etc
Console.Write("First number: ")
Dim a As Double = Console.ReadLine
Console.Write("Second number: ") 'Enter second floating-point number.
@@ -211,7 +211,7 @@ Module Module1
Console.Title = "Using For Loops | Learn X in Y Minutes"
'Declare Variable and what number it should count down in Step -1,
- 'Step -2, Step -3 etc.
+ 'Step -2, Step -3, etc.
For i As Integer = 10 To 0 Step -1
Console.WriteLine(i.ToString) 'Print the value of the counter
Next i 'Calculate new value