#include #include using namespace std; //The last two if statements are consecutive and mutially exclusive. //No matter what happens, one will be true and one will be false. 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) { //if harris is equal to trump cout << "The Electoral College is hung.\n"; cout << "What do we do now?\n"; } if (harris != trump) { //if harris is not equal to trump cout << "The Electoral College has reached a decision.\n"; cout << "There is no constitutional crisis.\n"; } return EXIT_SUCCESS; }