Advertisement
Guest User

Decimal en Binaire

a guest
Oct 18th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. Lbl 0
  2. Input A
  3. " "->Chaîne1
  4. While A≠0
  5. A/2->B
  6. ent(A/2)->A
  7. If A≠B
  8. Then
  9. "1"+Chaîne1->Chaîne1
  10. Else
  11. "0"+Chaîne1->Chaîne1
  12. End
  13. End
  14. Disp Chaîne1
  15. Goto 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement