c++ integers -- 2

Completed Posted May 15, 2014 Paid on delivery
Completed Paid on delivery

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.

C++ Programming

Project ID: #5944878

About the project

8 proposals Remote project Active May 15, 2014

Awarded to:

sachitjani81

Can do this when needed.I'm ready....................................................................

$22 USD in 1 day
(0 Reviews)
1.3

8 freelancers are bidding on average $28 for this job

dobreiiita

Hi, I am C expert and can surely help you here with this project. I have a lot of experience in helping students with their assignments and tutoring. Please communicate to discuss further. Thank you. Regards Anshu

$30 USD in 1 day
(121 Reviews)
6.0
KingOfPhoenix

Hi, Friend. I have enough experience in C programming. I think I can help you perfectly & asap. Thanks.

$34 USD in 0 days
(24 Reviews)
5.7
cijagani

I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, e-commerce websites and portals, payment gateways and customized web based applications. my aim to deliver quality products to our customers within spe More

$54 USD in 4 days
(2 Reviews)
3.6
Ruchi003

Hi, i can make this simple project in a few hours time. i understand your requirements. few things you didnt mention: which operating system do you want this for? Windows, Linux, 32/64 bit? which IDE should i m More

$25 USD in 1 day
(7 Reviews)
2.6
jangkoo

A proposal has not yet been provided

$20 USD in 1 day
(3 Reviews)
1.6
risbudsoftware

I will help you out with this application. Please provide me the formats in which the number should get printed. I have 11 years of experience. And I will be able to help you out. In heading you mentioned C++, And in More

$25 USD in 1 day
(0 Reviews)
0.0
avimunjal

Hi i am a student of IT from a very reputed college and an employee of Samsung with a specialization in java and c++. I have already done many such projects in this domain and i am sure to do this project of yours with More

$25 USD in 1 day
(0 Reviews)
0.0