Need help..

I'm to write a code that will: 1) List the schools and the tuition of the schools in Cincinnati with tuition below 20000. Also list the number of schools that meet
these criteria.
2) Calculate and display the average tuition of schools with more than 10000 enrolled students. Indicate the tuition of Toledo and also
indicate if Toledo tuition is higher or lower than average.
3) Give the name and tuition of the three most expensive schools. You can assume that the top three schools have different tuition
than all others (there are no "ties").

I'm not exactly sure how to start this off...

This is the file. It's OH-in.dat

AntiochCollege
YellowSprings
330
27800
ArtAcademyofCincinnati
Cincinnati
163
19990
AshlandUniversity
Ashland
2793
22216
Baldwin-WallaceCollege
Berea
3625
22404
BlufftonUniversity
Bluffton
1030
21380
BowlingGreenStateUniversity
BowlingGreen
16085
15086
CapitalUniversity
Columbus
2824
26360
CaseWesternReserveUniversity
Cleveland
4080
32800
CedarvilleUniversity
Cedarville
3064
19680
CentralStateUniversity
Wilberforce
1747
11462
ClevelandStateUniversity
Cleveland
9878
10664
CollegeofMountSt.Joseph
Cincinnati
1916
19650
ColumbusCollegeofArt&Design
Columbus
1581
21768
DefianceCollege
Defiance
827
20120
DenisonUniversity
Granville
2263
32160
FranciscanUniversity
Steubenville
1982
17800
HeidelbergCollege
Tiffin
1330
18190
HiramCollege
Hiram
1205
24215
KentStateUniversity
Kent
18136
15862
KenyonCollege
Gambier
1661
37030
LakeErieCollege
Painesville
682
20500
LourdesCollege
Sylvania
1733
12570
MaloneCollege
Canton
1960
18600
MariettaCollege
Marietta
1412
24220
MiamiUniversity
Oxford
14551
22362
MountUnionCollege
Alliance
2193
21800
MountVernonNazarene
MountVernon
2171
17544
MuskingumCollege
NewConcord
1634
17500
NotreDameCollege
SouthEuclid
1240
20540
OberlinCollege
Oberlin
2829
36064
OhioUniversity
Athens
17176
17871
OhioWesleyanUniversity
Delaware
1935
31510
TheClevelandInstituteofArt
Cleveland
604
28100
TheCollegeofWooster
Wooster
1819
31870
TheOhioStateUniversity
Columbus
38479
21015
TheUniversityofAkron
Akron
18016
16467
TheUniversityofFindlay
Findlay
4926
22906
TheUniversityofToledo
Toledo
16067
15627
TiffinUniversity
Tiffin
1437
16800
UniversityofCincinnati
Cincinnati
19512
22419
UniversityofDayton
Dayton
7473
24880
UrsulineCollege
PepperPike
1180
20910
WalshUniversity
NorthCanton
2078
18300
WilmingtonCollege
Wilmington
1666
21578
WittenbergUniversity
Springfield
2059
31100
WrightStateUniversity
Dayton
12268
14004
XavierUniversity
Cincinnati
3910
24660
YoungstownStateUniversity
Youngstown
11987
12165
***
This is in C++
Topic archived. No new replies allowed.