1/7/2016 6:12:00 AM
if(age != 18)
cout << "you are not 18 years old";
Also used a lot in Boolean.
you could use if(false), but you could have t declared as a Boolean variable.
in some programs we need to invert logical results
Learn Playing. Play Learning
Send us a message