Write a program that asks the user to enter two numbers, obtains the two numbers from the user, and prints out the sum, product, difference, quotient, and remainder of the two numbers.
n = int(input(''))
m = int(input(''))
print(n + m)
print(n - m)
print(n * m)
print(n % m)
print(n ÷ m)
Comments
Leave a comment