Question: code in java please and please add a code where it reads the file and save them in an array for part b Exercise 1:

 code in java please and please add a code where it

code in java please

and please add a code where it reads the file and save them in an array for part b

Exercise 1: a) Write a Java program initializing an array called Temperatures", of type double, size 120, and with global visibility. b) The program reads 120 values from a given file and save them to the array. c) The program rounds the readings in the array to the nearest integer. Change the original readings. d) The program has to find and print the following to a file. The average, maximum, and minimum temperature for the whole 4 months. o The average, maximum, and minimum value of temperature for each month

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 Databases Questions!