Skip to content

Instantly share code, notes, and snippets.

Forked from anonymous/gist:7832723
Created December 6, 2013 21:52
What would you like to do?
var numero := leia_inteiro
var r :=""
enquanto numero>0 faca
n = numero/2
resto = numero - n*2
r := r + resto.toString
numero := n
escreva r.inverta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment