Case 1 - Tony’s Pizza & Pasta
The restaurant uses an application to update and display menu items and the related price information.
-Daily "Chef's Specials" are stored using two one-dimensional parallel arrays.The days of the week are stored in the strDays array,with Sunday as the first element.The daily special for each day is stored in a parallel array named strSpecial.Which of the following statements assigns Friday's special,which is rigatoni,to the appropriate element?
A) strSpecial(6) = rigatoni
B) strSpecial(5) = rigatoni
C) strSpecial(6) = "rigatoni"
D) strSpecial(5) = "rigatoni"
Correct Answer:
Verified
Q45: Explain the difference between a simple variable
Q46: The following sample of code contains errors.
Q47: The following array is declared and initialized:
Dim
Q48: Write the statement to declare a twelve-row,two-column
Q49: Write the statement to declare a seven-element
Q51: Write the statement to declare a five-element
Q52: Write the statement that assigns the string
Q53: The following sample of code contains errors.
Q54: Write the statement to declare a six-element
Q55: Describe two advantages to using arrays to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents