- Write a program c to enter two numbers and perform all arithmetic operations.
Write a program c to enter two numbers and perform all arithmetic operations.
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
SUPPORT US BY VOTING UP ANSWERS :
#PYTHON num1 = float(input("Enter Your first number: ")) num2 = float(input("Enter Your second number: ")) # Addition print("\nAddition: ",num1 + num2) # Subtraction print("\nSubtraction: ",num1 - num2) # Multiplication print("\nMultiplication: ",num1 * num2) #Division print("\nDivision: ",num1 / num2) # Modulus print("\nModulus: ", num1 % num2)