Question: computer scienceCreate a scanner object and have it take in the fileReader object youcreated in the previous step. To traverse the file create a while

computer scienceCreate a scanner object and have it take in the fileReader object youcreated in the previous step.
To traverse the file create a while loop that uses scanner.hasNextLine() as the condition.
With this setup, you will now compute the following (Remember to compile and run your code often)
The average temperature
The highest temperature
The lowest temperature
Total number of days where the temperature is above 25
Print out your results
Expected results:
Average Temperature: 23.1C
Highest Temperature: 35.0C
LOwest Temperature: 10.0C
Days above 25.0C:12
 computer scienceCreate a scanner object and have it take in the

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!