#include #include #include using namespace std; int main() { cout << "Unsigned char:" << endl << flush; cout << "\t Min: " << 0 << " \t max = " << UCHAR_MAX << endl << endl << flush; cout << "Signed char:" << endl << flush; cout << "\t Min: " << 0 << " \t max = " << USHRT_MAX << endl << endl << flush; cout << "Unsigned short int:" << endl << flush; cout << "\t Min: " << 0 << " \t max = " << UCHAR_MAX << endl << endl << flush; cout << "Signed short int:" << endl << flush; cout << "\t Min: " << SHRT_MIN << " \t max = " << SHRT_MAX << endl << endl << flush; cout << "Unsigned int:" << endl << flush; cout << "\t Min: " << 0 << " \t max = " << UINT_MAX << endl << endl << flush; cout << "Signed int:" << endl << flush; cout << "\t Min: " << INT_MIN << " \t max = " << INT_MAX << endl << endl << flush; cout << "Unsigned long int:" << endl << flush; cout << "\t Min: " << 0 << " \t max = " << ULONG_MAX << endl << endl << flush; cout << "Signed long int:" << endl << flush; cout << "\t Min: " << LONG_MIN << " \t max = " << LONG_MAX << endl << endl << flush; cout << "Float: " << endl << flush; cout << "\t Min: " << std::numeric_limits::min() << " \t max = " << std::numeric_limits::max() << " \t epsilon = " << std::numeric_limits::epsilon() << endl << endl << flush; cout << "Double: " << endl << flush; cout << "\t Min: " << std::numeric_limits::min() << " \t max = " << std::numeric_limits::max() << " \t epsilon = " << std::numeric_limits::epsilon() << endl << endl << flush; return 0; }