Computer Science, asked by mmodi3081, 4 months ago

Explain If - Then - Elself statement​

Answers

Answered by Anonymous
5

The If...Then... Else statement allows conditional execution based on the evaluation of an expression. ... The thenpart is executed if condition is true; if condition is false, then elsepart is executed. If the Else clause is not present, control passes to the next statement in the program.

Answered by Anonymous
4

Answer:

Elseif , as its name suggests, is a combination of if and else . Like else , it extends an if statement to execute a different statement in case the original if expression evaluates to false .

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false....

Explanation:

TAKE CARE

Attachments:
Similar questions