If-else statement in c++

If statement syntax If the condition is true it's body execute otherwise dose not execute. In the case of if in the place of condition always zero and non zero condition is cheked in which zero means condition is false and non zero means condition is true. Example #include<iostream.h> #include<conio.h> int main () { //Assigning value to the variable int x =50 ,y =20 ; //checking the condition if (x > y) { cout<< "x is greater than y" ; } } ### Output ### x is greater than y If-else statement:- syntax Example #include<iostream.h> int main () { //Assigning value to the variable int x =50 ,y =20 ; //checking the condition if (x == y) { cout<< "x is equal to y" ; } else { cout<< "x is not equal to y" ; } } ### Output ### //In the above program condition is false because the value of x=50 and the value of y=20 and they are not equal so else part will execute. x is not eq...