#include #include using namespace std; //Simpler way to do the same thing as consecutive1.C. //else means "otherwise". int main() { int harris {0}; cout << "How many electoral votes did Harris get? "; cin >> harris; if (!cin) { cerr << "Sorry, that wasn't a number.\n"; return EXIT_FAILURE; } int trump {0}; cout << "How many electoral votes did Trump get? "; cin >> trump; if (!cin) { cerr << "Sorry, that wasn't a number.\n"; return EXIT_FAILURE; } if (harris == trump) { cout << "The Electoral College is hung.\n"; cout << "What do we do now?\n"; } else { cout << "The Electoral College has reached a decision.\n"; cout << "There is no constitutional crisis.\n"; } return EXIT_SUCCESS; }