Description:

Here i wrote a program that asks the user to enter two integer . The program will then show the result of the two integers being added, subtracted, multiplied, divided and will show the remainder

Code:

x = input (“Enter first integer”)

y = input (“Enter second integer”)

add = x + y

diff= x + y

pro = x + y

quo = x + y

rem = x + y

print “The Sum is”add

print “The Difference is”,diff

print “The Product is”,pro

print “The Quotient is “,quo

print “The remainder is”,rem

lab2