Cvent interview question

Pseudocode for converting an integer to binary