Подскажите пожалуйста где у меня ошибка(код на С++)
#include <iostream> using namespace std;
int main() { enum Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday }; int choise; cout << "Enter a day (0-6): "; cin << choise; if (choise = Sunday || choise == Saturday) cout << "\nYou're already off on weekends!\n"; else cout << "\nOkay, I'll put in the vacation day.\n"; return 0; }
|
|
|