Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can u fix the problem please it it not working Paused HW 4 main HW 4 ? HW 4 ? main No Selection include ciostreans
can u fix the problem please it it not working
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;iStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started