Solved

What Is the Sentinel Value in the Following Loop

Question 40

Multiple Choice

What is the sentinel value in the following loop?
Declare Numeric invoiceNum
Declare Numeric senValue
Display "Enter an invoice number or -1 to quit: "
Input invoiceNum
While invoiceNum != -1
[more processing statements]
Display "Enter another invoice number or -1 to quit: "
Input invoiceNum
End While


A) invoiceNum
B) Input
C) senValue
D) -1

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents