Multiple choice

A semicolon immediately after a prompt in an INPUT statement will cause _______.

  1. the prompt to print in the next available space

  2. a line to be skipped in the output

  3. a question mark to appear on the screen at the end of the statement

  4. an error to occur

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A semicolon after the prompt suppresses the automatic newline and causes a question mark to appear at the end of the prompt, signaling that input is expected.