|
|
back to boardCan you give me solution? Re: Can you give me solution? Add '1' to the input number and see if it's lucky, i.e. if the sum of the first 3 digits is the same as the sum of the second 3 digits of the newly formed number. Subtract '1' from the input number and check the same. Output 'Yes' if the newly formed number satisfies the condition, and 'No' otherwise. |
|
|