Computer Science, asked by sneha47242, 11 months ago

write a program in java to assign a two digit number and it is special two digit number or not​

Answers

Answered by aatifnasir2009
2

Answer:

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 2-digit number” otherwise, output the message “Not a Special 2-digit number”. Output : The number 79 is a Special Two-Digit Number.

Explanation:

please mark me as brainliest

Similar questions