Source
homework3.cpp
data.txt
Screenshot