Which of the following array declarations would enable you to store the high
temperature for each day of one full week?
a. int temp1, temp2, temp3, temp4, temp5, temp6, temp7;
b. int temp [7] = new int [7];
c. temp int [ ] = new temp[7];
d. int [ ] temp = new int [7];
e. int [ ] temp = new temp [8];
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.