Im confused. I need to write a program that takes a user input number and converts it into binary, octal, and hexidecimal.

The stack is to be set up as a class.

6/2 = 3 remainder = 0

3/2 = 1 remainder = 1

1/2 = 0 remainder = 1

110 is the binary equivalent of decimal 6

Any help to get started would be appreciated....thanks in advance