189k views
23 votes
Read three integers from user input. Then, print the product of those integers. Ex: If input is 235, output is 30. Note: Our system will run your program several times, automatically providing different input values each time, to ensure your program works for any input values.

1 first-2
2 second-3
3 third=5
4 s=int(first second third)
5 print(s)

User Dawan
by
3.2k points

1 Answer

9 votes

Answer:

The program in Python is as follows:

first = int(input())

second = int(input())

third = int(input())

s = first * second * third

print(s)

Step-by-step explanation:

This prompts the user for first input

first = int(input())

This prompts user for second input

second = int(input())

This prompts user for third input

third = int(input())

This calculates the product

s = first * second * third

This prints the calculated product

print(s)

User The Pademelon
by
3.4k points