Sha256: 30ca42fd0e7758414ce2bb781e0003496ff276bda67b267e32b82aa38135b6f8
Contents?: true
Size: 419 Bytes
Versions: 10
Compression:
Stored size: 419 Bytes
Contents
ask "Enter the first number:" put it into number1 ask "Enter the second number:" put it into number2 put "Sum: " & number1 plus number2 put "Difference: " & number1 minus number2 put "Product: " & number1 multiplied by number2 put "Integer quotient: " & number1 div number2 -- Rounding towards 0 put "Remainder: " & number1 rem number2 put "Exponentiation: " & number1 to the power of number2
Version data entries
10 entries across 7 versions & 1 rubygems