c++ integers -- 3

this is the third time I am posting this project. I have had two individuals unable to correctly write the program.

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.

Evner: C++ Programmering

Se mere: representation of integers, integers and, integer programming examples, integer and floating point representation, hex programming, floating point integers, describe your character, c programming getchar, cplusplus programming examples, bad programming, big byte, byte time, big can integer, sample input screen, enter numbers prints, big integers program, big can integers, input output screen project, input big integer, endian, floating numbers, integers, write recursive function writes digits positive decimal integer reverse order , make program read integers add digits, dealing storage structure integers array digits

Om arbejdsgiveren:
( 6 bedømmelser ) SALEM, United States

Projekt ID: #6035808

Tildelt til:


I can complete the work with my expertise in C/C++ programming. I'll deliver the work in time with best quality.

$25 USD på 1 dag
(0 bedømmelser)

6 freelancere byder i gennemsnit $41 på dette job


Hello !I am highly Expert in this field. I'll provide you [login to view URL] your time and money will be safe when you will award me project thanks. let's discuss more

$105 USD in 2 dage
(28 bedømmelser)

A proposal has not yet been provided

$105 USD på 1 dag
(8 bedømmelser)

hello...............message me ..............i have read the description...........i can get your work done.................waiting for your reply........Thnx.....Best Regards

$35 USD på 1 dag
(11 bedømmelser)

I will do the task. . .

$45 USD in 2 dage
(4 bedømmelser)

Hi I am expert in C++ and Algorithm I am regular contestants of Competition like TopCoder or Code chef I have am 100% sure that I can solve your problem Please check my past project reviews Thank You :)

$30 USD på 1 dag
(2 bedømmelser)

I am a student of computer science, have excellence in C, C++ , Java. Let me solve this problem for you. You will get what you want. Thanks

$30 USD på 1 dag
(0 bedømmelser)

Предложение еще не подано

$10 USD in 7 dage
(0 bedømmelser)