13 lines
296 B
Plaintext
13 lines
296 B
Plaintext
print "Number 1: "
|
|
x = int(input())
|
|
print "Number 2: "
|
|
y = int(input())
|
|
|
|
println format("Sum: %d", x + y)
|
|
println format("Difference: %d", x - y)
|
|
println format("Product: %d", x * y)
|
|
println format("Quotient: %f", x / y)
|
|
|
|
println format("Remainder: %d", x % y)
|
|
println format("Power: %d", x ^ y)
|