If/else statements

Home > Computer Science > Programming Languages > Control Structures > If/else statements

If/else statements are used to execute one block of instructions if a condition is met, and a different block of instructions if it's not.