Computer Science, asked by rishisingh87, 11 months ago

write a program to enter 2 digit number and check whether the number is a special 2 digit number or not​


it is a computer program

Answers

Answered by zoyasultana
4

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 shirisha1981
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

Read more on Brainly.in - https://brainly.in/question/11038974#readmore

Similar questions