Computer Science, asked by surmanisurmani7, 1 day ago

Write a program to input two numbers. Print their Sum, Difference, and Product.


please ​

Answers

Answered by grayqualityfaintd
6

Answer:

ok I'll help

PYTHON ONLY

Num1=float(input("Enter first number"))

Num2=float(input("Enter second number"))

Add=Num1+Num2

Subtract=Num1-Num2

Multiply=Num1*Num2

print("The sum of two numbers is:",Add)

print("The difference of two numbers is:",Subtract)

print("The product of two numbers is:",Multiply)

Do It completely same

Explanation:

MARK BRAINLIEST

Answered by Eldarion
70

Answer:

a = int(input("Enter first number: "))

b = int(input("Enter second number: "))

print("Sum:", a + b)

print("Difference:", a - b)

print("Product:" a * b)

Explanation:

Python is a powerful high-level, object-oriented programming language. It was created by Guido van Rossum. It was launched on 1991. It can connect to the database system, it can also read and modify files.

We have taken two user input to accept two numbers from the user and stored them as int function. Then we have calculated sum, difference and product of the both numbers using respective operators.

Similar questions