Multiple Choice
Suppose that a program asks a user to enter multiple integers, either positive or negative, to do some calculation.The data entry will stop when the user enters a certain value to indicate the end of the data.What value should the program use as the sentinel?
A) 0
B) -1
C) 999
D) an alphabetic character
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: What are the values of i and
Q25: What is the output of this code
Q26: When hand-tracing a portion of code, which
Q27: A loop inside another loop is called
Q28: Which of the following conditions can be
Q30: What is the output of the following
Q31: What is the output of the code
Q32: What is the output of the code
Q33: How many times is the text "Let's
Q34: What will be the output of the