simply use cin>> s; no need to use getline if you are taking string as a datatype and take care that C++ is case sensitive so in input, it should...
Basically && operator is AND operator return true when both the conditions are true but || operator is OR operator return true when either 1st...
Separate names with a comma.