Write a program (see the Lecture 7 notes for help) which takes in a number and converts it into its base "b" expansion for up to base 16 . In other words, if I give you some number, say x, find the expansion x=sgn(x)j=mntjbj,0tjb1. Briefly explain your reasoning behind you code. Compare the representations of .1 in base 3,8 , and 16 . Comment on any interesting patterns that you observe. Note, for bases 11-16, follow hexadecimal conventions, which means instead of using numbers above 9, you use letters in the following fashion: 10=A11=B12=C13=D14=E15=F.