WAP to input two number and Print whether their sum is a single digit or a double digit number or more than a double digit number
Answers
Answered by
1
Explanation:
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
Similar questions
Math,
3 months ago
Social Sciences,
6 months ago
English,
6 months ago
English,
10 months ago
Science,
10 months ago
World Languages,
10 months ago