Arithmetic/Integer: Difference between revisions

Line 526:
Message("a / b = ") Num_Type(#1 / #2)
Message("a % b = ") Num_Type(#1 % #2)
 
=={{header|Visual Basic .NET}}==
Imports System.Console
Module Module1
Sub Main()
Dim a = CInt(ReadLine)
Dim b = CInt(ReadLine)
WriteLine("Sum " & a + b)
WriteLine("Difference " & a - b)
WriteLine("Product " & a - b)
WriteLine("Quotient " & a / b)
WriteLine("Integer Quotient " & a \ b)
WriteLine("Remainder " & a Mod b)
End Sub
End Module
 
 
=={{header|XSLT}}==