Answer:
number = int(input("Enter a number: "))
product = 1
while number > 0:
digit = number % 10
number -= digit
number /= 10
product *= digit
print(int(product))
Step-by-step explanation:
*The code is in Python
Ask the user for an integer
Initialize the product variable that will hold the multiplication of the digits
Initialize a while loop that iterates until number is greater than 0
To find the digit of a number, use number modulo 10. Then subtract the result from the number and divide the new number by 10.
Multiply each digit and hold the value in the product
When the loop is done, print the product