Posts

Showing posts with the label logic oprators

logic operators in cpp

 logic operators in cpp #include<iostream> using namespace std; int main() { cout<<"logic operators"<<endl; if(!false) { cout<<"Not false  !"<<endl; } if(true || false) { cout<<"OR  ||"<<endl; } if(true && 1) { cout<<"And &&"<<endl; } return 0; }