Decimal -> Hexadecimal
Author |
Message |
TW iz Rippin
|
Posted: Fri Mar 02, 2012 4:03 pm Post subject: Decimal -> Hexadecimal |
|
|
What is it you are trying to achieve?
A program that converts decimals to hexadecimals
What is the problem you are having?
Cant figure out the equations
Describe what you have tried to solve this problem
Search the web
Please specify what version of Turing you are using
4.1.1 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
crossley7
|
Posted: Fri Mar 02, 2012 5:18 pm Post subject: RE:Decimal -> Hexadecimal |
|
|
start by converting figuring out how to convert to binary and what the value of a base does in relation to the number. For example I will list the first few numbers in binary, decimal and hexadecimal to help.
Analyse these values and figure out what needs to happen and how base relate to each other. (hint: Use exponents)
Decimal Binary Hexadecimal
1 1 1
2 10 2
3 11 3
4 100 4
5 101 5
6 110 6
7 111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
16 10000 10 |
|
|
|
|
![](images/spacer.gif) |
TW iz Rippin
|
Posted: Fri Mar 02, 2012 6:03 pm Post subject: RE:Decimal -> Hexadecimal |
|
|
ok thanks a lot bro... will test some things ![Smile Smile](http://compsci.ca/v3/images/smiles/icon_smile.gif) |
|
|
|
|
![](images/spacer.gif) |
|
|