Question: can u fix the problem please it it not working Paused HW 4 main HW 4 ? HW 4 ? main No Selection include ciostreans





Paused HW 4 main HW 4 ? HW 4 ? main No Selection "include ciostreans \#include using namespace std; void marketdatabase(vector\& qrcodes, vector\& items, vector\& prices) 1 string line; cout "Enter product QR, name, and price (enter "END', to finish):" == MEND") f break; \} size_t qrPos = line, find (', ' ); size_t namePos =1 ine, find (,, qrPos +1); size_t pricepos = line.rfind ('s'); string qrCode = line.substr( , qrPos ); string itemName =1 ine,subst( qrPos +1 , namaPos - qrPos -1); double itemPrice = stod (1ine -substr(pricePos)); qreodes .push_back(qrCode); items , push_back (itemName); prices.push back (itemprice); \} ) Int findopicodeindex(const vector 8 qcodes, const string\& qrcode) 1 for (size_t i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
