Sha256: 6a4f4f1eab964f56e1d1b6aff58c5d53e89f9a68f79a916a2a7be8866c966958
Contents?: true
Size: 517 Bytes
Versions: 10
Compression:
Stored size: 517 Bytes
Contents
Public Sub Main() Dim a, b As String Dim c, d As Integer Print "Enter two integer numbers, separated by space:" Input a, b c = CInt(a) d = CInt(b) Print "Sum: " & (c + d) Print "Difference:" & (c - d) Print "Product: " & (c * d) Print "Integer: " & (c Div d) Print "Remainder: " & (c Mod d) Print "Exponentiation: " & (c ^ d) End Output: Enter two integer numbers, separated by space: 8 1 Sum: 9 Difference:7 Product: 8 Integer: 8 Remainder: 0 Exponentiation: 8
Version data entries
10 entries across 7 versions & 1 rubygems