input and int and print a binary

How do I go about taking a user inputed integer and spitting out the binary or it?
Topic archived. No new replies allowed.