Question: 1. Write a program that reads two numbers from user and display the addition, subtract, multiplication, division, and remainder operations table of the two
1. Write a program that reads two numbers from user and display the addition, subtract, multiplication, division, and remainder operations table of the two numbers. The output should be formatted in the following manner: Enter two numbers: xy C Operation Addition Subtraction Multiplication Arithmetic Operator Division Remainder C Expression x + y = a x - y = b x * y = c x /y = d x &y=e (Hint: do remember that int / int results in an int value. Implement type casting in this program)
Step by Step Solution
There are 3 Steps involved in it
def main Input x intinputEnter the first number y intinputE... View full answer
Get step-by-step solutions from verified subject matter experts
