Monday 20 August 2012

ConsoleApplication in Vb.Net using If and then

ConsoleApplication in Vb.Net using If and then
Dim n(10), i, a As Integer
        Console.WriteLine("enter the values")
        For i = 0 To 9
            n(i) = Console.ReadLine()
        Next
        Console.WriteLine("enter the value which you want find in array")
        a = Console.ReadLine()
        For i = 0 To 9
            If (n(i) = a) Then
                Console.WriteLine("no is found")
                Stop
                Console.ReadLine()
            Else
                Console.WriteLine("no is not found")
                Console.ReadLine()
                Stop
            End If
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: