What is the purpose of else in an if…else statement?
A. Contains statements that are executed if the conditional expression is true
B. Defines another conditional expression the browser evaluates if the first conditional expression is false
C. Contains statements that are executed if the conditional expression is false
D. Used to nest an if statement
Answer:C
What is the purpose of else in an if…else statement?
A. Contains statements that are executed if the conditional expression is true B. Defines another conditional expression the browser evaluates if the first conditional expression is false C. Contains statements that are executed if the conditional expression is false D. Used to nest an if statement