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

Lesson:

First contact with Visual Basic (VB.net)


Exercise:

Division of two numbers


Objetive:

Write a Visual Basic (VB.net) program to print the result of dividing 24 by 5 on the screen.


Code:

Imports System
Public Class Exercise3
    Public Shared Sub Main()
        System.Console.WriteLine(24 / 5)
    End Sub
End Class

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