Explanation:If you have an action you want to execute when the condition is false, then you need an else clause. 2. Point out the correct statement :
A. Blocks are evaluated until a new line is entered after the closing brace
B. Single statements are evaluated when a new line is typed at the start of the syntactically complete statement
C. The if/else statement conditionally evaluates two statements
D. All of the mentioned
Answer:A
Explanation:If you have an action you want to execute when the condition is false, then you need an else clause. 2. Point out the correct statement :
A. Blocks are evaluated until a new line is entered after the closing brace B. Single statements are evaluated when a new line is typed at the start of the syntactically complete statement C. The if/else statement conditionally evaluates two statements D. All of the mentioned
Explanation:The if/else statement returns, as its value, the value of the statement that was selected. 3. Which of the following syntax is correct for while loop ?