Computer Science, asked by arpyadav01, 5 months ago

2. Which of the following is a selection statement?
a. IF-THEN statement
b. IF-THEN..ELSE statement
c. Select case statement
d. All of them

don't spam.


it's urgent​

Answers

Answered by poonamverma1987
1

Explanation:

answer - c , select case statement

Answered by GulabLachman
0

All of the given statements are selection statements.

  • A selection statement, allows a program to choose among two or more viable actions based on predetermined criteria. across a range of computer platforms.
  • The statements can be explained as -

If Statement

  1. This is a fundamental selection expression that enables a computer programme to run a piece of code.
  2. The code is run if a specific condition is met or skipped if the condition is not met.

If Then Else Statement

  1. With the help of this extension to the if statement, a program can run one block of code if a circumstance is true and a different block of code if it is untrue.

Select Case Statement

  1. A variable can be checked for equality against a collection of values using this expression.
  2. Herein, each number is referred to as a case, and each pick case checks the variable is turned on.

#SPJ3

Similar questions