Using a do command to create a converter fo base 10 to base 2 number, is there a command to invert the order of print? The last print becomes the first and consecutively
Just take mod 2 and save the result then divide the original number by 2. Keep the answers in an array. Keep on doing that while the number is non zero.
When the number reaches zero, print the array from back to front.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.