Case-Based Critical Thinking Questions Case 1 - Jack of All Trades Jack of All Trades rents small power equipment to commercial and residential customers. The strCustomer variable is used to determine whether a customer is commercial (C) or residential (R). Commercial customers receive a 10% discount if they are members of the Rental Rewards Program. Residential customers receive a 5% discount if they are members. The button selected by the clerk will determine the next task performed by the computer. The application is using the __ of the MessageBox.Show method.

- Boolean value
- function
- selection structure
- return value

Respuesta :

Answer:

Selection structure.

Explanation:

Selection structure is a feature in programming which is used perform different tasks based on the boolean value of the expression provided is true or false.There are different selection structures  in programming languages which are as following:-

  1. if statement.
  2. if else statement.
  3. if else if statement.

for example:-

if statement

if(number > 500)

return number;

if else statement

if(number>500)

{

    break;

}

else

{

     continue;

}

if else if statement

if(number>500)

{

    break;

}

else if(number ==500)

{

  return number;

}

else

{

     continue;

}