132,548 views
16 votes
16 votes
When a Select Case statement executes, the value of the test expression is compared with the values that follow each of the _______ keywords.

User Zorza
by
2.6k points

1 Answer

23 votes
23 votes

Answer:

Case

Step-by-step explanation:

In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.

Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.

For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.

A Select Case statement can be defined as a conditional statement that avails software developers or programmers the ability to test a variable by comparing it with a list of values.

In a Select Case statement, each variable is referred to as a Case.

Generally, when a Select Case statement executes, the value of the test expression is compared with the values that follow each of the Case keywords.

User Aleksander Ikleiw
by
2.7k points