Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

file:///C:/Users/Reggi/Downloads/weatherDaily%20(1).dat (The link might not be working but I just need help with writing the program, I can put the code for the link in

image text in transcribed image text in transcribedimage text in transcribed file:///C:/Users/Reggi/Downloads/weatherDaily%20(1).dat (The link might not be working but I just need help with writing the program, I can put the code for the link in myself) Please help me somehow or someway if you can. No C++ this is basic java programming.

COMP163 Average Day of First Frost Farmers need to harvest their crops early enough to avoid a killing frost. For this assignment you are to write a program the average first day in the fall that a frost occurs. The file weatherDaily.dat contains several years of Greensboro daily weather data sorted by increasing date. Each line in the file represents one day's weather and contains the values: that reads a file created with data from the National Climatic Data Center to determine date of this weather record date of this weather record from 1 to 12 date of this weather record from 1 to 31 year month da precipitation amount of precipitation on this day snow daily high highest temperature recorded on this day in tenths of a degree Celsius daily low lowest temperature recorded on this day in tenths of a degree Celsius amount of snow that fell on this day All values are integers. The program only requires the year, month, day and daily low, although your program must read all data values in each line a. [90 points] Write a program that displays the date of the first autumn frost for each year in the file We define an autumn frost as any day when the temperature is less than zero deg frosts occur after July. The first day of frost is when the daily low is less than zero and the month is greater than 7. After you find the first day of frost, you need to skip the rest of the days until December 31. You can use a boolean variable to indicate that a frost has already been found. rees Celsius. Fall

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago