Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this program, you will read the data from the attached file normal-temps-usa-january.data.txt file and generate a report on this data. The file contains a

In this program, you will read the data from the attached file "normal-temps-usa-january.data.txt" file and generate a report on this data. The file contains a list of states and their normal temperatures (one per station and temperature per line) for various weather stations around the USA that have been collecting data for decades. The report will be in an output file named "normal-temps-usa-january-report.txt". Your report will show the following information:

The number of stations recorded i.e. the number of entries The average normal temperature for the USA in January The lowest normal temperature and its corresponding state for the USA in January The highest normal temperature and its corresponding state for the USA in January

this needs to be in C++ code for each state with the number listed.

AL 43.8

AL 41.5

AL 50.2

AL 46.6

AK 17.1

AK 37.0

AK -13.4

AK 6.6

AK -10.0

AK -1.0

AK28.2

AK -7.9

AK -2.9

AK 24.8

AK 28.3

AK 16.2

AK 30.5

AK -2.8

AK -6.5

AK 5.2

AK 25.1

AK 14.2

AK 21.8

AK 28.1

AZ 29.9

AZ 56.4

AZ 52.7

AZ 35.2

AZ 55.6

AR 39.4

AR 40.8

AR 41.1

CA 47.8

CA 38.5

CA. 48.3

CA 46.6

CA 56.7

CA 56.7

CA 58.0

CA 35.9

CA 44.9

CA 46.3

CA 57.1

CA 50.3

CA 51.3

CA 52.1

CA 51.5

CA 45.8

CO 16.3

CO 30.5

CO 30.7

CO 27.4

CO 30.5

CT 30.1

CT 27.1

DE 32.4

D.C. 33.2

D.C. 36.0

FL 52.4

FL 57.9

FL 64.2

FL 54.3

FL 53.1

FL 69.4

FL 68.2

FL 60.2

FL 51.1

FL 51.2

FL 60.8

FL 62.1

FL 65.7

GA 43.5

GA 43.3

GA 46.8

GA 47.2

GA 46.3

GA 49.5

HI 68.0

HI 73.2

HI 72.0

HI 71.7

ID 31.3

ID 35.6

ID 24.3

IL 23.8

IL 22.6

IL 24.9

IL 21.5

IL 26.7

IN 32.5

IN 24.9

IN 28.1

IN 24.4

IA 20.7

IA 19.0

IA 20.4

IA 18.5

KS 28.6

KS 32.2

KS 29.6

KS 29.7

KS 32.2

OH 31.2

KY 34.9

KY 32.9

KY 34.5

KY 34.6

LA 51.7

LA 51.8

LA 53.4

LA 46.4

ME 10.2

ME 22.3

MD 32.9

MA 25.5

MA 29.0

MA 24.1

MI 19.1

MI 25.8

MI 22.4

MI 24.4

MI 18.1

MI 23.4

MI 18.8

MI 25.4

MI 15.3

MN 10.2

MN 4.4

MN 15.6

MN 15.7

MN 11.6

MS 46.6

MS 44.8

MS 41.7

MO 29.7

MO 31.0

MO 31.8

MO 32.6

MT 27.1

MT 13.8

MT 25.2

TX 18.0

MT 23.1

MT 23.8

MT 25.8

NE 25.1

NE 24.7

NE 22.6

NE 25.0

NE 23.5

NE 22.4

NE 27.2

NE 23.6

NV 25.1

NV 25.3

NV 48.0

NV 35.6

NV 30.1

NH 20.6

NH 4.7

NJ 33.0

NJ 35.5

NJ 31.6

NM 36.4

NM 35.4

NM 40.6

NY 22.6

NY 22.2

NY 24.9

NY 30.6

NY 32.6

NY 32.7

NY 32.9

NY 24.7

NY 23.6

NC 35.2

NC 45.5

NC 40.1

NC 38.9

NC 41.0

NC 46.0

ND 12.8

ND 9.3

ND 6.7

ND 11.0

OH 26.1

OH 28.1

OH 29.6

OH 27.5

OH 25.5

OH 25.5

OH 25.8

OK 39.2

OK 37.0

OR 43.8

OR 24.8

OR 40.7

OR 40.3

OR 35.3

OR 41.4

OR 41.2

OR 37.8

PA 27.8

PA. 27.2

PA 29.9

PA 29.9

PA 33.0

PA 28.4

PA 25.8

PA 26.8

RI 29.2

SC 48.3

SC 49.7

SC 44.8

SC 42.2

SD 12.0

SD 16.7

SD 25.0

SD 16.6

TN 35.2

TN 40.5

TN 38.2

TN 41.2

TN 37.7

TN 37.5

TX 44.9

TX 37.0

TX 51.5

TX 49.2 T

TX 61.1

TX 57.1

TX 45.9

TX 47.0

TX 52.2

TX 45.1

TX 55.2

TX 53.3

TX 40.2

TX 43.9

TX 52.7

TX 46.4

TX 52.4

TX 53.9

TX 47.2

TX 42.0

UT 27.9

UT 29.5

VT 18.7

VA 35.1

VA 40.4

VA 37.9

VA 36.6

WA 39.8

WA 41.6

WA 43.0

WA 42.0

WA 29.5

WA 35.5

WA 31.0

WV 31.1

WV 34.4

WV 29.2

WV 33.7

WI 16.6

WI 17.4

WI 18.8

WI 22.3

WY 24.7

WY 28.8

WY 23.0

WY 23.8

PC 80.2

PC 78.3

PC 81.4

PC 81.7

PC 81.7

PC 82.5

PC 80.7

PC 81.2

PC 78.7

PC 82.2

PR 77.6

thanks need this before 2/16

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

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago