sir ,please see my code in collaboration mode ,my test cases are geting failed!
2 test case not passed! in chewbacca and number
where is your code? can you please share it?
the most probable error in this question is a corner case where all the digits are 9, or first digit is 9.(solution: first 9 should be untouched)
check your code for following examples:(left side is input, right side is expected output)
- 999 ----> 900
- 987 -----> 912
- 9 -------> 9
thanks
thanks a lot ,sir actually i was understanding question wrong.
please resolve and rate it.
thanks