Introduction to C++ Selections
C/C++ has a couple of different ways to perform selections. We’re going to start looking at some of these. As with most languages, C./C++ has a Boolean data type, called bool. This can be used directly with your conditions, or separately to store data. Relational Operators Since we will need to compare values, C/C++ gives…