Question: Write a C++ program that converts real numbers into floating point numbers. The user will choose the size of the exponent and the mantissa, and

Write a C++ program that converts real numbers into floating point numbers. The user will choose the size of the exponent and the mantissa, and then will enter the numbers to be converted via command window. The program will check if the real numbers entered fit into the representation selected by the user, and will give a message if not. If the numbers fit the representation, the program will display the FP representation of the number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
