Write a program that will explore Data Storage Limits in C++ (TCO 3). Your program should perform all of the below calculations and provide the desired output. Make sure to format your output to show a sufficent number of digits of precision.
For credit, your program must at least compile and run properly. It should also contain adequate comments such as:
Each student must write and submit his or her own code for the assignment. Discussion of the assignment is allowed. You may share ideas but not code files.
Also include, in comments in your program, a discussion of what you see (and why), when you run this program (there should be some unexpected results).
Sample Output (no user input required):
Squaring powers of 10, storing in INT (32 bit)
10 squared = 100
100 squared = 10000
1000 squared = 1000000
10000 squared = 100000000
100000 squared = -2147483648
FLT_MIN DIVIDED BY 10 =1.1754946310819804e-039
.2 summed 100 times =1.9999999999999961e+001
.2 summed 10000 times =2.0000000000003176e+003
STEP 1: (Unsigned) Integer Calculations (10 points)
STEP 2: (Single-Precision) Floating Point Calculations (20 points)
Here is a list of helpful include files:
My tutorial contain Visual C++ project.
Please using Visual Studio to open this project.
Thank you for purchase my tutorial.
If you have more question or need help, please contact me via email firstname.lastname@example.org. I will help you any time.