The following command prompt the user for input.
-
ASK
-
INPUT
-
BOTH 1 and 2
-
LET
Reveal answer
Fill a bubble to check yourself
C
Correct answer
Explanation
Both ASK and INPUT commands can be used to prompt the user for input in an SQR program. ASK is typically used for simple prompts, while INPUT provides more control over formatting and validation.
AI explanation
In SQR, both the ASK and INPUT commands can be used to prompt the user for input at runtime, with slightly different behaviors (e.g., masking, defaults), which is why 'BOTH 1 and 2' is the correct choice. LET is used for variable assignment, not for prompting the user.