Im having trouble fixing this error on my program. Any help would be greatly apprecitated.
#include <iostream>
using namespace std;
int main ()
{
char choice;
cout<<" Is it after 12 noon? (y/n)" <<endl;
cin>>choice;
if (choice == 'y')
cout<<" Good afternoon, world!"<<endl;
else if
(choice == 'n')
cout<<" Good morning, world!"<<endl;
else
cout<<" Good day, world!"<<endl;
return 0;
}
Thank You Very Much.