a statement which is used to execute a block of statements based on particular condition is called ___________
Answers
Answered by
3
Answer:
The if control structure is used to execute a statement or block of statements if the condition is true, otherwise it ignores the condition. The general syntax of if statement is as follows: if (Boolean expression) { //Java statements .. .. }
Answered by
6
Answer:
Conditional Statements in C programming are used to make decisions based on the conditions. Conditional statements execute sequentially when there is no condition around the statements. If you put some condition for a block of statements, the execution flow may change based on the result evaluated by the condition.
Similar questions