Write a program to find the product of two numbers a and b, where a =150 and b =200
This question is in computer book class 7 (It Beans) this is the computer book of page no. 90 B-1
What to do in this?
Answers
Answered by
1
Question:-
Write a program to find the product of two numbers a and b where a=150 and b=200
Code:-
Here is your code written in Python.
a=150
b=200
c=a*b
print("Product of two numbers is: ",c)
This is a very simple code. First, we will initialise 150 to a and 200 to b and then we will find the product and store it in variable c. Using print() statement, we will print the product.
Answered by
2
Answer:
a = 150
b = 200
c = a * b
print ( c)
Similar questions