Weather Patterns. In Chapter, we discussed the types of information that are collected by the National Weather Bureau. Figure contained a sample of the reports that are available with weather information. A group of data files included in the instructors CD that accompanies this text contains weather information for Stapleton International Airport for the period January–December 1991. Each file contains data from 1 month; each line in the file contains 32 pieces of information, in the order shown in The data have been edited so that they are totally numeric. If a field of information contained T, for a trace amount, the corresponding value in the data file contains 0.001. There are nine possible weather types, and because several weather types can occur during a single day, nine fields are used to store this information. For example, if weather type 1 occurred, the first of the nine fields will contain a 1; otherwise, it will contain a 0. If weather type 2 occurred, the second of the nine fields will contain a 1; otherwise, it will contain a 0. The peak wind-gust direction has been converted to an integer using the following:
N 1
NE 2
E 3
SE 4
S 5
SW 6
W 7
NW 8
The values on each line in the data file are separated by blanks, and the data files are named jan91.dat, feb91.dat, and so on.
Write a program that computes the average temperature for days with fog in November 1991.
Figure Straight-line distance between two points.

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.