Decimal conversions to base numbers 2-16 (Binary through Hexadecimal)

前端 未结 6 1478
夕颜
夕颜 2021-01-16 15:03

Hey i\'m writing a program that converts decimal numbers into any base unit from binary to hexadecimal (2,3,4,....,15,16). This is what I have so far, running any number fro

6条回答
  •  执笔经年
    2021-01-16 15:42

    Um introduction to an old style debugging process called dry run

    x  y  z c (z != 0) 
    16 2  8 0  true
          8 0  true DOH!
    

提交回复
热议问题