Integer Value Demo
Imports System
Public Class MainClass
Shared Sub Main(ByVal args As String())
Dim n As Integer
n = 16
n += 10.23
Console.WriteLine("Addition test..." & n, "Integer Math")
n = 24
n -= 2
Console.WriteLine("Subtraction test..." & n, "Integer Math")
n = 6
n *= 10
Console.WriteLine("Multiplication test..." & n, "Integer Math")
n = 12
n /= 6
Console.WriteLine("Division test..." & n, "Integer Math")
End Sub
End Class
Related examples in the same category