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