Question: Write a python program t03.py that asks the user to enter a positive three-digit integer N. The program outputs the product of the three digits.
Write a python program t03.py that asks the user to enter a positive three-digit integer N. The program outputs the product of the three digits. If the user enters a number 251, the product will be 10 as (2x5x1 = 10). You must use integer division and modulus, not strings, to extract the three digits.
Sample Run:
Enter a positive three digit integer: 251
The product of the three digits in the integer (251) is: 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
