Computer Science, asked by deekshith7156, 5 hours ago

Compare if statement and if – else statements with an example for each.​

Answers

Answered by islegend12345
5

Answer:

The if statement is a decision-making structure that consists of an expression followed by one or more statements. The if else is a decision-making structure in which the if statement can be followed by an optional else statement that executes when the expression is false.

Answered by geetabhardwaj955
0

Explanation:

The if statement is a decision-making structure that consists of an expression followed by one or more statements. The if else is a decision-making structure in which the if statement can be followed by an optional else statement that executes when the expression is false.

Similar questions