Computer Science, asked by sandhyayadav292012, 4 months ago

What is a Conditional statement ? How does the If - Then - Else conditional work ?​

Answers

Answered by geetark5764
1

Answer:

Conditional statement is a set of rules performed if a certain condition is met. It is sometimes referred to as an If-Then statement, because IF a condition is met, THEN an action is performed.

Conditional statement is a set of rules performed if a certain condition is met. It is sometimes referred to as an If-Then statement, because IF a condition is met, THEN an action is performed.Use the If… Then… Else statement to define two blocks of statements. One of the statements runs when the specified condition is True, and the other one runs when the condition is False. When you want to define more than two blocks of statements, use the ElseIf Statement.

Explanation:

Pls Mark Me Brainliest..‼️

Hope this answer helps you

Answered by TheRose06
1

\huge\underline{\bf \red{ ❥ ᴀɴsᴡᴇʀ }}

  • 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. Apart from the case of branch predication, this is always achieved by selectively altering the control flow based on some condition.
Similar questions