Booleans and Conditionals in C++
Lecture no. 4 from the course: Introduction to C++: Programming Concepts and Applications
Taught by Professor John Keyser | 30 min | Categories: The Great Courses Plus Online Professional Development Courses
Probe the power of conditionals, which let you construct programs that can choose between true and false alternatives. Learn to use the keyword bool, which stands for Boolean variable—a value that can be either true (1) or false (0). Study the three basic Boolean operations—and, or, not—and see how they can be combined to make truly complex logical operations.