fork download
  1. Module Module1
  2. Sub Main()
  3. Dim i, j As Integer
  4.  
  5. i = 2
  6. While (i <= 100)
  7. j = 2
  8. While (j < i)
  9. If (i Mod j = 0) Then
  10. Exit While
  11. ElseIf (j = i - 1) Then
  12. Console.WriteLine(i)
  13. End If
  14. j = j + 1
  15. End While
  16. i = i + 1
  17. End While
  18.  
  19. Console.ReadLine()
  20. End Sub
  21. End Module
Success #stdin #stdout 0.03s 26152KB
stdin
Standard input is empty
stdout
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97