Conditional statements help you to make a decision based on certain conditions . These conditions are specified by a set of conditional statements having boolean expressions which are evaluated to a boolean value true or false.
Read moreWhat is conditional statement explain with example?
A statement that is of the form “If p, then q” is a conditional statement. Here ‘p’ refers to ‘hypothesis’ and ‘q’ refers to ‘conclusion’. For example, “If Cliff is thirsty, then she drinks water.” This is a conditional statement.
Read more