Sha256: 67525d6b0d3d8b05a5db3004aac217a57a2d58390e0a3a8fbd94c8b516efe67b
Contents?: true
Size: 396 Bytes
Versions: 10
Compression:
Stored size: 396 Bytes
Contents
OpenConsole() Define a, b Print("Number 1: "): a = Val(Input()) Print("Number 2: "): b = Val(Input()) PrintN("Sum: " + Str(a + b)) PrintN("Difference: " + Str(a - b)) PrintN("Product: " + Str(a * b)) PrintN("Quotient: " + Str(a / b)) ; Integer division (rounding mode=truncate) PrintN("Remainder: " + Str(a % b)) PrintN("Power: " + Str(Pow(a, b))) Input() CloseConsole()
Version data entries
10 entries across 7 versions & 1 rubygems