diff options
author | Matthew Strapp <msattr@gmail.com> | 2019-05-09 09:28:20 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2019-05-09 09:28:20 -0500 |
commit | 68fd319ec403ab8e7c3ad999a8d66714b23f5fc5 (patch) | |
tree | 572cb7cf0707450f8495c9e4c55d89c012742946 /ee1301/wk7 | |
parent | E (diff) | |
download | homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar.gz homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar.bz2 homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar.lz homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar.xz homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.tar.zst homework-68fd319ec403ab8e7c3ad999a8d66714b23f5fc5.zip |
time to fail a HW part 2
Diffstat (limited to 'ee1301/wk7')
-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 |