- Category:
- matlab
- Tags:
-
[WORD]
- File Size:
- 2kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- dashow
Description: If a number (the first non-zero) reading from left to right and from right to left the same time, we will call it palindrome. For example: Given a 10-decimal number 56, will be 56 plus 65 (that is read from right to left 56), by 121 is a palindrome. Another example: For 10 decimal number 87: STEP1: 87+78 = 165 STEP2: 165+561 = 726 STEP3: 726+627 = 1353 STEP4: 1353+3531 = 4884 step here is to a N band in addition, the patients received at least step 4 with a palindrome 4884. Write a program that, given a N (2 < = N < = 10 or N = 16) hexadecimal number of M, after seeking at least steps can be palindromes.
To Search:
- [Palindrome] - A palindrome for the number of Java prog
File list (Check if you may need any files):
we.doc