In this:
if (Question == whats the weather?)
Add quotes around the sentence. You want to write
if (Question == "whats the weather?")
Also, since you’re using namespace std
, you don’t need std::
before anything.
2
solved How to use if commands with sentances [closed]