Oftentimes we'll want our programs to respond differently depending on user input or the values of certain variables.
Control flow is a way of telling our program which statements or instructions to perform. That sounds tricky, but it's really quite easy! It's just a way of teaching our programs how to make decisions.
Control flow is a way of telling our program which statements or instructions to perform. That sounds tricky, but it's really quite easy! It's just a way of teaching our programs how to make decisions.