Create an array called temperatures to store double values


"Create" an array called temperatures to store double values. Use a for loop structure to find the hottest temperature of the week.

  • "Create" a variable called hottest to hold the highest temperature.
  • Iterate over every index of the array.
  • Output the value of the hottest day.

Hint: After creating and initializing temperatures array, see if you can print out every element of the array.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Create an array called temperatures to store double values
Reference No:- TGS02655686

Now Priced at $15 (50% Discount)

Recommended (94%)

Rated (4.6/5)