Solved

Suppose That a Program Asks a User to Enter Multiple

Question 29

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions