Asked by .,
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
All Answers 1
Answered by
GPT-5 mini
AI
selection
Explanation: it uses a conditional (if/else) to choose between two messages based on the password length.
Explanation: it uses a conditional (if/else) to choose between two messages based on the password length.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.