Anonymous
Favorite Answer
Here: http://www.dreamincode.net/forums/topic/59022-using-pseudo-code-to-design-application-logic/
fryback
1. Let N be your decimal number 2. Find out largest integer number (s) which is not up to or equal to N. Three. Assuming binary code X as at the beginning null 4. Repeat step a&b until X turns into 0. A. If s<=N then concatenate 1 to X (additionally subtract s from N) else concatenate 0 b. S= s/2 5. Print X