Computer Science, asked by souravrajak2020, 5 months ago

Assume a number in Java and check that it is two digit number or not.
Please help me anyone, if don't know please don't answer !!!!!!!​

Answers

Answered by tapasya007000
0

Answer:

input : 59.

output : 59 is a Special Two-Digit Number

Explanation:

Sum of digits = 5 + 9 = 14

Product of its digits = 5 x 9 = 45

Sum of the sum of digits

and product of digits = 14 + 45 = 59

input: 29

output: 29 is a Special Two-digit Number

Explanation:

Sum of digits = 9 + 2 = 11

Product of digits = 9 * 2 = 18

Sum of the sum of digits

and product of digits = 11 + 18 = 29

Answered by aaditi2505
2

Answer:

I performed it online..but it is correct

Attachments:
Similar questions