A special 2 digit number is such that when the sum of its digits is added to the product
of its digits the result is equal to the original 2 digit number.
Example: consider the number 59
Sum of its digits: 5 + 9 = 14
Product of its digits: 5 * 9 = 45
Sum of the (sum of digits) and (product of digits) = 14 + 45 = 59
Write a program in Java to input a two digit number. Find and print whether it is a
special 2 digit number or not
Answers
Answered by
0
Answer:
qpr 1095478 ...........
Similar questions