If the user enters a password that is too short, they will get an error message. Otherwise, they will get a welcome message. This is an example of which of these structures?

(1 point)
Responses

iteration

iteration

sequence

sequence

count-controlled loops

count-controlled loops

selection

1 answer

The scenario described is an example of selection. This structure involves making a decision based on a condition (in this case, checking if the password is too short) and executing different actions based on the result of that condition (showing an error message or a welcome message).