#include #include using namespace std; int main() { double profit {0.00}; cout << "How many dollars did we make? "; cin >> profit; if (!cin) { cerr << "Sorry, that wasn't a number.\n"; return EXIT_FAILURE; } double loss {0.00}; cout << "How many dollars did we lose? "; cin >> loss; if (!cin) { cerr << "Sorry, that wasn't a number.\n"; return EXIT_FAILURE; } if (profit < loss) { cout << "We're losing money.\n"; } else { cout << "We're not losing any money.\n"; } if (profit > loss) { cout << "In fact, we're making money.\n"; } return EXIT_SUCCESS; }