c++ integers

Completado Publicado May 10, 2014 Pagado a la entrega
Completado Pagado a la entrega

Write a program that requests numbers from the user and then prints each number out in a variety of formats.

For each number typed in, your program should print out two lines:

First, your program should ask the user if they want to print the output in either "byte order: big-endian" or "byte order: small-endian" depending on the their preference. Based on the user selection, you should print out either big-endian or small-endian. Your test output and sample screen-shot should include both examples of big-endian and small-endian output.

first line: integer, right justified in a 10 character field hex representation of that integer

second line: floating point, right justified in a 10 character field, with 2 digits to the right of the decimal point hex representation of that floating number

Your program should repeatedly ask for input until the user types in a zero, and then it should exit. Your program should be able to handle bad user input. When it encounters bad user input, your program should flush the input stream (by repeatedly calling getchar until it sees a '\n'). This is easier to observe than it is to describe. Note that you can enter multiple numbers at once.

HTML HTML5 Java PHP WordPress

Nº del proyecto: #5923245

Sobre el proyecto

8 propuestas Proyecto remoto Activo May 10, 2014

Adjudicado a:

umarbsse

Hi As a Software Engineer and programmer i can do this job with 1 day.I have 2 years programming experience and ready to start that project right [login to view URL] you have any question you may ask. Thanks

$25 USD en 1 día
(57 comentarios)
5.3

8 freelancers están ofertando un promedio de $27 por este trabajo

rakib062

Hi, I am a graduate in CS and working as a C++ programmer for 4+ years. I have done lots of assignments both in academic courses and in freelancer.com. I assure you of clean, efficient code with proper comment and Más

$35 USD en 1 día
(27 comentarios)
5.1
dpappu131

hello I can do this . thanks .................................................................,........

$25 USD en 1 día
(9 comentarios)
3.8
usmanspeial

I am software engineer and i know how to do that very well and hope we have a happy experience between us

$15 USD en 1 día
(5 comentarios)
3.5
hinahanif15

Greetings, I am a Computer Science graduate, having majors in SE. I can build this code in Borland C++ by providing screenshots along with workable code. Price can be negotiated. Hoping to hear soon from you.

$25 USD en 1 día
(10 comentarios)
3.6
kimiyang

Hi I'm a software engineer from Singapore, I'll be glad to help you do this project, feel free to drop me a message to discuss more, thanks~

$20 USD en 3 días
(1 comentario)
2.2
shevaevp

Hello, I will do my best in order to satisfy your needs. This should not take a long time and will be done as soon as possible.

$15 USD en 1 día
(0 comentarios)
0.0