WAP in java to enter a 2digit no. and check if the second ten's digit is twice the unit's digit
Share
WAP in java to enter a 2digit no. and check if the second ten's digit is twice the unit's digit
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Explanation:
When 75% of a two digit number is added to the digits of the number are reversed find the ratio of the unit's digit to the ten's digit in the original number?
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