Accept a number and check if the neimber is a spicial to digit member or not. A number i said to be special if the sum off the diget when added to the product of its digit the result is equal to the original two dogit number. = ExAriple=n=59 sum Star 14 = Product = 5*q = us 5* Total = 14+45-59
Answers
Answered by
0
Answer:
Example: Sample Input: 1124
Sum of the digits = 1 + 1 + 2 + 4 = 8
Product of the digits = 1*1*2*4 = 8
Explanation:
hope it will help you please mark me as brainalist
Similar questions