# Small C/C++ Project

I know that this is probably what some might call simple, but what I call this is just a migrane waiting to happen. This project is two parts: Part 1: converting hexidecimal into decimal numbers and vice versa, using multiplication and division algorithms. The prompt comes from the command line, which uses a 'd' or an 'h' followed by a space and then what you want to convert. It should be in two classes, hex2dec() and dec2hex(). In the repeated multipication and division algorithms, you need to use integer values for digits, but the input or output needs to be a character. In C, characters use ASCII coding, which assigns an integer code to each character. C allows you to do arithmetic directly with these integer codes. The following tables describe how to convert a character to its numerical value and vice-versa. For an input character ch, its digit value is given by the expression in the following table. Range of ch Digit Value '0' to '9' ch - '0' 'a' to 'f' ch - 'a' + 10 'A' to 'F' ch - 'A' + 10 For digit value d, its output character value is given by the expression in the following table. Range of d Digit Value 0 to 9 d + '0' 10 to 15 d - 10 + 'a' That should explain the algorithms a bit more! Part II: The program seeks to read float numbers from stdin and displays the sign, exponent, and mantissa parts of their floating point representation. The input should contain one floating point number per line. For each input number the output should have the following information: number: [url removed, login to view] bits: BFE00000 sign: 1 exponent: 7F mantissa: 600000 number: [url removed, login to view] bits: 41BC0000 sign: 0 exponent: 83 mantissa: 3C0000 It can be done using line-by-line input processing and floating point input, but hexidecimal output. More information can be provided as needed. The two parts should be as separate files, but can be under the same .jar file.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

Unix and/or Windows. Preferrably in .jar or .zip

( 3 comentários ) United States

ID do Projeto: #2975060

## 37 freelancers estão ofertando em média \$25 para este trabalho

mihaiscortaru

See private message.

\$33.99 USD in 2 dias
(158 Comentários)
6.0
idleswell

See private message.

\$17 USD in 2 dias
(169 Comentários)
5.9
sanatanvw

See private message.

\$38.25 USD in 2 dias
(71 Comentários)
5.5
alexkvw

See private message.

\$34 USD in 2 dias
(64 Comentários)
5.1
esegura

See private message.

\$38.25 USD in 2 dias
(21 Comentários)
4.8
leepwo

See private message.

\$34 USD in 2 dias
(41 Comentários)
4.7
shahizanvw

See private message.

\$29.75 USD in 2 dias
(45 Comentários)
4.5
stevelb22

See private message.

\$21.25 USD in 2 dias
(60 Comentários)
4.5
epovw

See private message.

\$34 USD in 2 dias
(25 Comentários)
4.4
vw821235vw

See private message.

\$17 USD in 2 dias
(93 Comentários)
4.3

See private message.

\$31.45 USD in 2 dias
(24 Comentários)
4.6
lalesculiviu

See private message.

\$38.25 USD in 2 dias
(18 Comentários)
4.2
seirus

See private message.

\$12.75 USD in 2 dias
(36 Comentários)
4.0
teamvw

See private message.

\$17 USD in 2 dias
(35 Comentários)
3.8
barreiro04

See private message.

\$13.6 USD in 2 dias
(22 Comentários)
3.6
shashikhanvw

See private message.

\$34 USD in 2 dias
(14 Comentários)
3.7
russellsmithvw

See private message.

\$21.25 USD in 2 dias
(23 Comentários)
3.4
fastcodesrl

See private message.

\$25.5 USD in 2 dias
(5 Comentários)
3.2
ciphereye

See private message.

\$11.05 USD in 2 dias
(16 Comentários)
2.7
raheelali

See private message.

\$17 USD in 2 dias
(5 Comentários)
2.2