Comparision and Logical Operators to form Complex if Conditions
This video tutorial explains the comparision and the logical operators available in c++ and shows how to combine them to form complex conditions.
You will learn what are the comparision or the relational operators and the logical operators present in c++ and also how to use them in detail with examples.
source code for this tutorial
#include <iostream> using namespace std; int main() { bool human = false; if(!human){ cout << "you are not human"; }else{ cout << "u are human"; } return 0; }