Monday 20 August 2012

Addition Of Two numbers in Vb.net

How to add two numbers in Vb.Net
Develop Logic in Visual Basic.
Module Module1
    Dim a, b, c As Integer
    Sub Main()
        Console.WriteLine("Enter the number")
        a = Console.ReadLine()
        Console.WriteLine("Enter the second value")
        b = Console.ReadLine()
        c = a + b
        Console.WriteLine("sum is" & c)
        Console.ReadLine()


    End Sub

End Module
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: