📜  C 语言中的逻辑运算符 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:34.790000             🧑  作者: Mango

代码示例1
#include
int main(){
  A = 5;
  B = 10;
if((A == 5) && (B < 11)){
 printf(“Both conditions are ture”);
}

if(!(A==5)){
 printf(“A is not equal to 5”);
}

if((A>=3) ||(B<=9)){
 printf(“min any one condition is true”);
}

}