#include #include using namespace std; int main() { double fahrenheit {0.0}; cout << "Please type in the temperature in Fahrenheit: "; cin >> fahrenheit; if (!cin) { cerr << "Sorry, that wasn't a number.\n"; return EXIT_FAILURE; } double kelvin {((fahrenheit - 32.0) * 5.0 / 9.0) + 273.15}; cout << "The same temperature in Kelvin is " << kelvin << "\n"; return EXIT_SUCCESS; }