#include #include #include using namespace std; int main() { int fahrenheit {100}; cout << "What is todays temperature (whole number, minimum 1) in degrees Fahrenheit?\n"; cin >> fahrenheit; if (!cin) { cerr << "Sorry, that wasn't a valid whole number.\n"; return EXIT_FAILURE; //Fahrenheit dies here; } if (fahrenheit < 1) { cerr << "Sorry, it's the summertime. Global Warming has gone that far yet, must be at least 1.\n"; return EXIT_FAILURE; //Global warming has taken over here; feet and meters inot born yet. // } //Formula "Subract 32 from the Fehrenheit and the multiply the result by 5/9." double celsius {( fahrenheit - 32) *( 5.0 / 9.0)}; cout << "Today temperature is " << celsius << " Celsius.\n"; return EXIT_SUCCESS; //fahrenheit and celsius die here. }