What output should I print if the given number is 9 or 99 or 999 and so on ?Since the initial digit should not start with 0
Doubt in Chewbacca and Number problem
in these cases your output will be 9, 90 and 900 respectively.
Thanks
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.