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.
6 freelancers are bidding on average $41 for this job
Hello !I am highly Expert in this field. I'll provide you [url removed, login to view] your time and money will be safe when you will award me project thanks. let's discuss more
hello...............message me ..............i have read the description...........i can get your work done.................waiting for your reply........Thnx.....Best Regards
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 :)