I been trying to convert my decimal input to binary input for my LED condition

You have been asked to fix your original post, and you have not done so. If your ignore that request, maybe you will ignore any help that is offered here?