diff options
Diffstat (limited to 'ee1301')
-rw-r--r-- | ee1301/wk7/hw7_directory/HouseDB.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |