Computer Science, asked by mohakagr2010, 9 months ago

W.A.P to accept a number from the user and calculate the product of prime digit. plz answer correct program i will mark it as brainliest. please do the full programe and write it correctly i will mark it as abrainliest

Answers

Answered by Anonymous
8

Answer:

W.A.P is a number in which the product of the three will be prime no

Explanation:

Answered by Anonymous
0

def getProduct(n):  

product = 1

while (n != 0):  

 product = product * (n % 10)  

 n = n // 10

return product  

# Driver Code  

n = 4513

print(getProduct(n))  

# This code is contributed  

# RockstarPratheek

Similar questions