Using an if/else statement to control the flow of a program is common in:
selection structures.
Selection structures allow a program to choose different paths of execution based on certain conditions, which is exactly what if/else statements are designed for.