You are on page 1of 2

Practical No.

Name : Om Dadaji Pawar

Roll No : 12 Input

:
Module Module1

Sub Main() Dim

a, b As Integer

a=0

Console.WriteLine("Odd Number")

While a < 20 a=a+1

If a Mod 2 = 1 Then

Console.WriteLine(a)

Console.ReadLine()

End If

End While

Console.WriteLine("Even Number")

While b < 20 b=b+1

If b Mod 2 = 0 Then

Console.WriteLine(b)

Console.ReadLine()

End If

End While

End Sub

End Module
OUTPUT :

You might also like