Computer Science, asked by hrusikeshchoudary, 13 days ago

A special two-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 two
digit number
Example : Consider the number 59
Sum of digits = 5+9=14
Product of digits = 5*9=45
Total of the sum of digits and product of digits = 14+45-59
Write a program to accept a two-digit number. Add the sum of its digits
to the product of its digits. If the value is equal to the number input,
output the message "Special two- digit number" otherwise, output the
message "Not a special two-digit number​

Answers

Answered by Pinakchand2030
4

Answer:

check the attachment

Explanation:

Mark as BRAINLIEST if u think it's helpful ☺️

Attachments:
Similar questions