//Write a c program to demonstrate and use the logical AND , logical OR , logical NOT :
#include<stdio.h>
int main()
{
int a,b,c,result;
printf("Enter the value of a,b,and c\n");
scanf("%d %d %d",&a,&b,&c);
result=(a>b)&&(b<c);
printf(" The result after logical AND operators is %d\n",result);
result=(c<b)||(b>a);
printf(" The result after logical OR operator is %d\n",result);
result=!(a>b);
printf(" The result after logical NOT is %d\n",result);
}
Learning C programming language from basics concept include with PROGRAMS:
https://kodewithgy.blogspot.com/2024/09/learning-c-programming-language-from.html