What's wrong with my Code?
#include <iostream> #include <iomanip> using namespace std; struct inventoryBin { string partDesc; int numPart; ~inventoryBin(); //deconstructor }; enum options { ADD_Parts =1, REMOVE_PARTS = 2, SHOW_INVENTORY = 3, QUIT = 4 }; void menu(InventoryBin invBins[], const int BINS); void addParts(Inventory invBins[], const int selection, const int MAX_PARTS, const int BINS); void removeParts(inventoryBin invBins[], const int selection); int getBinId(const int BINS); void showInventory;//displayBins void showInventory(inventoryBin invBins[], const int BINS) { cout << "\tBIN:\t Part Description" << setw(31) << right << "Number of Parts\n\n"; for(int index = 0; index < BINS; index++) { cout << "\t"; cout << setw(12) << left << (index+1) cout << setw(15) << left << invBins[index].partDesc << setw(30) << right << invBins[index].numPart << "\n"; } } int getBinId(const int BINS) { int binID = 0; cout << "\n\t Enter Bin Number: "; cin >> binID; while(binID < 1 || binID > BINS) { cout << "\n\tEnter Bin Number: "; cin >> binId; } return binID -=1; } void addParts(Inventory invBins[], const int selection, const int MAX_PARTS, const int BINS) { int add = 0; cout << "\n\t Enter number of parts to add: "; cin >> add while(add < 0) { cout << "\tEnter a number of parts to add: "; cin >> add; } while (invBins[selection].numParts + add > MAX_PARTS) { cout << "\nMaximum Part of Number 30 items\n\n"; cin >> add; } if(invBins[selection].numParts + add <= MAX_PARTS) { invBins[selection].numParts += add; } } void removeParts(inventoryBin invBins[], const int selection) { int remove = 0; cout << "\n\tEnter number of parts to remove: "; cin >> remove; while(remove < 0) { cout << "\tEnter number of parts to