fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5.  
  6. dim a as integer
  7.  
  8. For a = 1 To 6 step 1 ’ to make it count by 2’s use for a = 1 to 6 step 2
  9. Console.WriteLine(a)
  10. Next a
  11. Console.ReadLine()
  12.  
  13.  
  14.  
  15.  
  16. End Sub
  17. End Class
Success #stdin #stdout 0.04s 24192KB
stdin
Standard input is empty
stdout
1
2
3
4
5
6