Sum of two numbers Learn programming Visual Basic (VB.net)



Lesson:

First contact with Visual Basic (VB.net)


Exercise:

Sum of two numbers


Objetive:

Write a Visual Basic (VB.net) program to print the result of adding 12 and 13 on screen.


Code:

Imports System
Public Class exercise2
    Public Shared Sub Main()
        System.Console.WriteLine(12 + 13)
    End Sub
End Class



Juan A. Ripoll - Systems Tutorials and Programming Courses ©  All rights reserved.  Legal Conditions.