Module Module1 Sub Main() Dim result As Integer result = sum2values() 'calling the function Console.WriteLine("Result=" & result) Console.ReadLine() End Sub 'defining a function Function sum2values() Dim i, j As Integer Console.Write("Enter 1st Number: ") i = CInt(Console.ReadLine()) Console.Write("Enter 2nd Number: ") j = CInt(Console.ReadLine()) sum2values = i + j End Function End Module
Visual Basic dot net VB.net programming microsoft .net framework object oriented language network enabled technology visual basic 2005 IDE integrated development environment console application microsoft cre common runtime environment
Summation Using Function 2
Subscribe to:
Post Comments (Atom)
https://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
NK2S