Answers for "all logical operator in c"

C
0

Logical Operator in C language

#include<stdio.h>
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”);
}

}
Posted by: Guest on January-08-2022

Code answers related to "C"

Browse Popular Code Answers by Language