should i use decimal to binary and inary to decimal along with doing XOR
How to go with it
@sshreya2912 you need to read the number as 2 strings, now iterate over them, if at a position both string have same value, the put ‘0’ at that position in output string else put ‘1’ at that position.
If this resolves your doubt mark it as resolved.