Question: for C++ code .. > Not Secure-numbers.eastern.edu U + E CSC200 Lab 4 Welcome to CSC200 Lab 4 This program wil have 2 parts. First,

for C++ code

for C++ code .. > Not Secure-numbers.eastern.edu U + E CSC200 Lab

.. > Not Secure-numbers.eastern.edu U + E CSC200 Lab 4 Welcome to CSC200 Lab 4 This program wil have 2 parts. First, write code that finds the maximum and minimum values for the following data types: short int, unsigned int, int, long int, long long int, float, double, and long double. Include the limits> header to utilize the following built-in library functions: numeric limits :: max() numeric_limits : min) Second, write code that accepts a three digit integer from the user, and outputs another three digit integer, whose digits are in the reverse order of the given one. Here is a sample run of the program: whuddellenumbers:-/public_html/csci 200/solutions$ ./a.out Maximums The value of the maximum short int is: 32767 The value of the maximum unsigned int is: 4294967295 The value of the maximum int is: 2147483647 The value of the maximum long int is: 9223372036854775807 The value of the maximum long long int is: 9223372036854775807 The value of the maximum float is: 3.40282e+38 The value of the maximum double is: 1.79769e+308 The value of the maximum long double is: 1.18973e+4932 Minimums The value of the minimum short int is: -32768 The value of the minimum unsigned int is: 0 The value of the minimum int is: -2147483648 The value of the minimum long int is: -9223372036854775808 The value of the minimum long long int is: -9223372036854775808 The value of the minimum float is: 1.17549e-38 The value of the minimum double is: 2.22507-308 The value of the minimum long double is: 3.3621e-4932 Please enter a 3 digit number: 623 Your entered: 623 The reverse order is: 326 Save your file as lab4 con

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!