by Ray Jennings
by Ray Jennings

This is mastery 18. I am going to write about nesting of conditionals. I think this is a pretty fun subject, C++ programming can be really fun!

Okay, so we know what a conditional statement is. We have previously talked about if/else statements. Now…what if we could make and if/else statement inside another one?…Well, we can! And it is actually as simple as the following example:

https://github.com/mferflores/Math-time/blob/master/Math%20Time

Clear as water, right?

Just in case, here’s a video I did for you, I want the subject to be CLEARER than water!

CC BY 4.0 Nesting of conditional statements by Mferflores is licensed under a Creative Commons Attribution 4.0 International License.