trun string input into if output
Hi, I need help on some colde, when I type anything in it just prints out "hi" when the input wasnt "hi" ~> so on.
Code:
#include "tt.h"
using namespace std;
int main()
{
string say;
cout << "Naby-> Hi, my name is Naby." <<endl;
getline(cin, say);
if(say == "HI"||"Hi"||"hi"||"Hello"||"hello"||"HOLA"||"Hola"||"hola")
cout<<"Naby-> Hi"<<endl;
else if(say == "Play music for me")
mciSendString ( "Play CL.mp3", 0, 0, 0 );
else
cout<<"Naby-> Finde don't talk with me"<<endl;
getchar();
}