I just started learning C programming and we just finished learning about function calls and base conversion. Can you give me a simple program that converts a decimal based integer (user input) to binary, octal, and hexadecimal bases? It can't have printf %o (octal) or %x (hexidecimal). Just a simple program for someone who just started learning about programming and learning about calling a function.
I'd really appreciate it. Thanks alot!