[Solved] c++ if specific words from string

[ad_1]

You need to check each case individually using the OR operator if you want to check more than one case.

if (BothMods == "Yes" || BothMods == "YES" || BothMods == "yes") {
    // do whatever
}

4

[ad_2]

solved c++ if specific words from string