Question: 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,
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];
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
