Hey! Can you please check this code and tell me why the garbage value is outputted.
Error. Garbage value is outputted
Hey! I know the other easy solution using strings of this question too. But can you please help me find where this solution or program is wrong.
hello @agarwal_prachi
dont read number as integer , it may exceed its range use string to solve this problem
Okay, thankyou for resolving!
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.