Which of the following array declarations would enable you to store the high and low temperatures for
Question:
Which of the following array declarations would enable you to store the high and low temperatures for each day of one full week?
a. int temp1Lo, temp2Lo, temp3Lo, temp4Lo, temp5Lo, temp6Lo, temp7Lo, temp1Hi, temp2Hi, temp3Hi, temp4Hi, temp5Hi, temp6Hi, temp7Hi;
b. int temp [7, 2] = new int [7, 2];
c. temp int [ , ] = new temp [7, 2];
d. int [ , ] temp = new temp [7, 2];
e. int [ , ] temp = new temp [8, 3];
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: