Number Converter
source: Jared Hopf, 2003
-
- Description:
- This assignement deals with number representations. The goal of this assignment is to create a program that will convert a from one format to another format. The available formats are:
 |
Decimal |
 |
Binary |
 |
Octal |
 |
Hexadecimal |
- So, this program should be able to convert:
- 10, base 10 -> A, base 16
- 14, base 10 -> 16, base 8
- 1A, base 16 -> 11010, base 2
- 10110110, base 2 -> B6, base 16
- ETC.
-
- Minimum Requirments:
- Convert a decimal number to one of the other bases.
- Additional Requirements:
- Convert Binary/Octal/Hexidecimal/Decimal to each other.
- Convert an arbitary base number to another base
-
- Concepts:
- Number Systems.
- Number Conversions.
- Text representation of numbers
- Recursion (decimal) vs. iteration (text).