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

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];

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis Design Questions!