Code:
#include <iostream>
int main()
{
using namespace std;
char day[20];
cout << "Select a day of the week: ";
cin >> day;
if (day == Monday)
{
cout << "Monday is the worst day of the week!";
}
else if (day == Tuesday)
{
cout << "Tuesday is boring";
}
else if (day == Wednesday);
{
cout << "Wednesday is interesting";
}
else if (day == Thursday)
{
cout << "Thursday is fine";
}
else if (day == Friday)
{
cout << "Friday is great!";
}
else if (day == Saturday)
{
cout << "Night out";
}
else
{
cout << "Relaxing";
}
return 0;
}
IT SAYS WARNING ON IF STATEMENT AND DOESN'T COMPILE