38
47.
Possibility of two digit no whose sum is 10 19,28,37,46,55,64,73,82,91 Add 54 to each no mentioned above result is 73,82,91,100,109,118,127,136,145 See after first comma 28 and 82 If you reverse 28 . 82 will come which is 54 more than 28. So 28 is that original number
Add up the digits in a number, and if that sum is a multiple of 3, then the original number is also a multiple of 3. So 1 + 8 + 9 = 18, which if you're still not sure then 1+8=9, which is a multiple of 3. You can repetitively sum the digits until you have a result of a single digit number. If the single digit result is 3,6 or 9, then the original number is a multiple of 3. Also, if the single digit number is 9, then the number is also a multiple of 9. However, if the result is 6, then it is not necessarily a multiple of six.
Alberto
The result is the knowledge of another number that is equal to that percent of the original number,
55
The number is 21978. 21978 when multiplied by 4 which gives the result 87912 which is in reverse order.
Add the digits together and if the result is divisible by 9, the original number is divisible by 9.
int RevNum( int num ) { const int base = 10; int result = 0; do { result *= base; result += num % base; } while( num /= base); return( result ); }
The basic idea is that the final result should not be - or rather, appear to be - more accurate than the original numbers. Therefore, the final result should not have more significant digits than the original numbers you multiply or divide. For example, if one factor has 3 significant digits, and the other 5, round the final result to 3 significant digits.
No, reversing the order of the digits of a two-digit prime number does not always result in a prime number.
Possibility of two digit no whose sum is 10 19,28,37,46,55,64,73,82,91 Add 54 to each no mentioned above result is 73,82,91,100,109,118,127,136,145 See after first comma 28 and 82 If you reverse 28 . 82 will come which is 54 more than 28. So 28 is that original number
19
As a result of the rule that you use the definition of the term - such as significant digits - when finding them for a number.
let a, b, c denote the three digits of the original number, then the three-digit number is 100a+10b+c. The reverse is 100c+10b+a. Subtract: (100a+10b+c)-(100c+10b+a) to get 99(a-c). Since the digits were decreasing, (a-c) is at least 2 and no greater than 9, so the result must be one of 198, 297, 396, 495, 594, 693, 792, or 891. When you add any one of those numbers to the reverse of itself, you get 1089
public class StringReverseExample { public static void main(String[] args) { int num=1001; int n=num, rev; while(num!=0) { int d=num%10; rev= (rev*10)+d; num=num/10; } System.uot.println(rev); } }
Yes it is... If you add the digits of ANY number together - and the result can be divided exactly by 3 or 9 - then the original number will also divide by 3 or 9. Since the digits of this number add together to make 18 - then 32643 will also divide by 3 or 9.
There isn't one. The only two digit numbers whose sum of digits is 12 are: 39, 48, 57, 66. (I didn't include 75, 84, or 93 since interchanging their digits and subtracting from the original number will be a negative result.) None of the four remaining numbers will exceed the original by 25. 66 won't work since the difference will be zero. Using 39, the new number (93) will exceed the original by 54; using 48 the difference will be 36; and using 57 the difference will be 18