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
Print out your results
Expected results:
Average Temperature:
Highest Temperature:
LOwest Temperature:
Days above :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
