if (condition1) code to be executed if condition1 is trueelsif (condition2) code to be executed if condition2 is trueelse code to be executed if condition1 and condition2 are not true