f 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

This scenario is an example of selection. In this context, the program evaluates a condition (whether the password is too short or not) and then chooses one of two paths based on the result (either displaying an error message or a welcome message).