read file display high/low

really new to c++ (first semester) teacher went through the topic really fast and now im struggling on this one assignment. any help would be appreciated. also keep it relatively simple and not advanced!

Write a C++ program that processes the data in the file and displays the name of the cities with the coldest low temperature, the warmest high temperature, the largest temperature swing, the lowest max wind speed, and the highest max wind speed.


the data from the file:
Buffalo 45 55 2
Syracuse 52 58 7
Utica 34 35 15
Albany 51 57 22
NYC 64 68 8

Im just really lost on how to even begin..
Topic archived. No new replies allowed.