Q-1. take two number as a input and print their sum. Q-2. Take three number as a input and multiply them and print the result.
Answers
Answered by
7
Answer:
USING PYTHON:
1.
a=int(input("Enter a number: "))
b=int(input("Enter another number: "))
print("The sum will be:", a +b)
2.
a=int(input("Enter 1st number: "))
b=int(input("Enter 2nd number: "))
c=int(input("Enter 3rd number: "))
print("The product will be:", a*b*c)
Answered by
8
Hey Mate !
The python program is as follows :-
1.
a=int(input("Enter 1st number: "))
b=int(input("Enter 2nd number:"))
sum = a + b
print("The sum is", sum)
2.
a=int(input("Enter 1st number: "))
b=int(input("Enter 2nd number:"))
c=int(input("Enter 3rd number: "))
product = a * b * c
print("The product is", product)
Attachments:
BrainlyPotter176:
Splendid!
Similar questions
Hindi,
2 months ago
Science,
2 months ago
Math,
5 months ago
Computer Science,
5 months ago
India Languages,
11 months ago
Environmental Sciences,
11 months ago