write a program in java to assign a two digit number and it is special two digit number or not
Answers
Answered by
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
Hindi,
5 months ago
Social Sciences,
5 months ago
Physics,
5 months ago
Math,
11 months ago
Math,
11 months ago
Math,
1 year ago
Environmental Sciences,
1 year ago
English,
1 year ago