Solved

Case-Based Critical Thinking Questions Case 1 - Tony's Pizza

Question 22

Multiple Choice

Case-Based Critical Thinking Questions Case 1 - Tony's Pizza & Pasta
The restaurant uses an application to update and display menu items and the related price information.
The intSub variable keeps track of array subscripts and is initialized to 0. The intHighSub variable contains the highest subscript for the strToppings array. Which of the following statements will traverse the strToppings array?


A) Do While intSub >= intHighSub
B) For intHighSub As Integer = 0 To intSub
C) Do While intSub
D) For intSub As Integer = 1 To intHighSub

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