📜  如果不是 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.878000             🧑  作者: Mango

代码示例1
#include 
using namespace std;

bool state = false;

if (state != true) { //Boolean is false.
  cout << "No";
} else { //Boolean is true
  cout << "Yes";
}