if statement:An "if statement" is a type of code block that allows executing certain instructions only if a given condition is true.
while loop:A "while loop" is another type of code block that repeats a set of instructions as long as a specified condition remains true.
switch statement: A "switch statement" is yet another type of code block that executes different sets of instructions based on the value of an expression.