Question: I want a C++ program that allows the user to convert real numbers into floating numbers. When the user is running the program, he/she must

I want a C++ program that allows the user to convert real numbers into floating numbers. When the user is running the program, he/she must be able to pick the size of the exponent as well as the mantissa, to later enter the numbers that will be converted via command window. In other words, this program will determine whether the real numbers that are entered will fit into the representation selected by the user, and will be able to give a message or not. If the numbers turn out to be fit for the representation, then the program will display the FP (File Pointer) representation of the number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!