From 68fd319ec403ab8e7c3ad999a8d66714b23f5fc5 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Thu, 9 May 2019 09:28:20 -0500 Subject: time to fail a HW part 2 --- ee1301/wk7/hw7_directory/HouseDB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee1301/wk7/hw7_directory/HouseDB.cpp b/ee1301/wk7/hw7_directory/HouseDB.cpp index 3eb0d73..eb1ff8f 100644 --- a/ee1301/wk7/hw7_directory/HouseDB.cpp +++ b/ee1301/wk7/hw7_directory/HouseDB.cpp @@ -94,6 +94,8 @@ int main(int argc, char* argv[]) { while (findAvg!=NULL) { for(int j=0; j<999; j++) { if (zipSort[j]=findAvg->zipcode) { + cout << zipSort[j] << " " << findAvg->zipcode << endl; + cout << j << endl; costPerZip[j]+=findAvg->price; totalPerZip[j]++; break; //Break for loop -- cgit v1.2.3