Question: the code cannot run as there they say Std has no member getline i am trying to run it on Visual studio Leal Windows or

the code cannot run as there they say Std has no member getline i am trying to run it on Visual studio
the code cannot run as there they say Std has no member
getline i am trying to run it on Visual studio Leal Windows
or AID In the line molApp. Come Application Global Scope trines which
21 chares. Insert (OKOM Wichano mercadle ( CHE, 4:00 24 chares. Interpretinde

Leal Windows or AID In the line molApp. Come Application Global Scope trines which 21 chares. Insert (OKOM Wichano mercadle ( CHE, 4:00 24 chares. Interpretinde TALS, wearers.internetit double che, 401920 25 cres. Inverted to TX MEXICO POR. 4,17101) while (1) at the of steinstein , TOU) counter the will >> decreto pirator inchar catrine, doubletter it with 35 AS the docto cut the point in corretto 36 monthlycharsonthlychar(100) 3 It kucharescind(100) calculate the cha 39 total change the second chargecond 0.01 ) Mint Theint cout Dolly Car for TOUchael cout #include #include using namespace std; int main() { //declaring variables string TDU; double usage; double total_charge; int run = 1; 1/declare a map to store names of TDU and montly fixed costs in dollars map monthlycharges; monthlycharges.insert (pair("ONCOR", 3.42)); monthlycharges.insert(pair ("CENTERPOINT ENERGY", 5.47)); monthlycharges.insert (pair("AEP TEXAS CENTRAL", 9.00)); monthlycharges.insert(pair("AEP TEXAS NORTH", 10.53)); monthlycharges.insert (pair("TEXAS - NEW MEXICO POWER", 7.85)); 1/declare a map to store names of ToU and usage costs in cents map kwhcharges; kwhcharges.insert(pair("ONCOR", 3.8447)); kwhcharges.insert (pair "CENTERPOINT ENERGY", 4.03120)); kwhcharges.insert(pair ("AEP TEXAS CENTRAL", 4.84460)); kwhcharges.insert(pair("AEP TEXAS NORTH", 4.01990)); kwhcharges.insert(pair TEXAS - NEW MEXICO POWER", 4.83210)); while(run=-1) cout> std::ws, TDU); cout> usage; //declare iterator of maps map::iterator it_monthlycharges; map::iterator it kwhcharges; //use the find function of map to get the pointer to correct entry according to key 'TDU it_monthlycharges = monthlycharges.find (TDU); it kwhcharges = kwhcharges.find(TDU); //calculate the charges total_charge -it_monthlycharges->second + (it_kwhcharges->second*0.01 usage); 1/print the final output cout>run; return 0; > Create a flowchart for a program that calculate the TDU charges on an electric bill. Use the attached document for the rates of each TDU. . The program will do the following: Ask the user who their TDU is. Ask the user how many kWh they used in the month. Calculate the TDU charges based on the kWh the user entered and the TDU they selected. Display the those charges with a brief explanation to the user. Ask the user if they want to enter another month. If so, allow the user to go through the process again. Be sure to think of other uses of the skills we have covered (error-checking, etc.) and apply them if possible. Photos - TD Screenshot song Set + Add to > e X Citate Sure TDU Delivery Charges To Per Money & Tot Per H by TDU) TDU Delivery Charges CENTERPOINT AEP TEXAS TEXAS - NEW AEP TEXAS ONCOR Updated October 15, 2015 MEXICO ENERGY CENTRAL NORTH POWER Total TOU Charges Per Month 3627 31105 37.85 Total TDU Charges. Par kWh1700 40512 BE 401950 483210 9.00 Use the following formula to calculate the TDU Delivery Charges billed: applicable charges based on customersage and current meter read date of invoice TDU Delivery Charges To TDU Delivery Charges Per Month (Tour TU Delivery Charges Per Wh Monty Bed Wh Usage Example (ONCOR TOU 1.000 kWh Usage 13.420.0380470 1.000 W 45.87 20 pc me here to search O FI $ 3 4 5 6 8 7 OD 9 E E R. T O Leal Windows or AID In the line molApp. Come Application Global Scope trines which 21 chares. Insert (OKOM Wichano mercadle ( CHE, 4:00 24 chares. Interpretinde TALS, wearers.internetit double che, 401920 25 cres. Inverted to TX MEXICO POR. 4,17101) while (1) at the of steinstein , TOU) counter the will >> decreto pirator inchar catrine, doubletter it with 35 AS the docto cut the point in corretto 36 monthlycharsonthlychar(100) 3 It kucharescind(100) calculate the cha 39 total change the second chargecond 0.01 ) Mint Theint cout Dolly Car for TOUchael cout #include #include using namespace std; int main() { //declaring variables string TDU; double usage; double total_charge; int run = 1; 1/declare a map to store names of TDU and montly fixed costs in dollars map monthlycharges; monthlycharges.insert (pair("ONCOR", 3.42)); monthlycharges.insert(pair ("CENTERPOINT ENERGY", 5.47)); monthlycharges.insert (pair("AEP TEXAS CENTRAL", 9.00)); monthlycharges.insert(pair("AEP TEXAS NORTH", 10.53)); monthlycharges.insert (pair("TEXAS - NEW MEXICO POWER", 7.85)); 1/declare a map to store names of ToU and usage costs in cents map kwhcharges; kwhcharges.insert(pair("ONCOR", 3.8447)); kwhcharges.insert (pair "CENTERPOINT ENERGY", 4.03120)); kwhcharges.insert(pair ("AEP TEXAS CENTRAL", 4.84460)); kwhcharges.insert(pair("AEP TEXAS NORTH", 4.01990)); kwhcharges.insert(pair TEXAS - NEW MEXICO POWER", 4.83210)); while(run=-1) cout> std::ws, TDU); cout> usage; //declare iterator of maps map::iterator it_monthlycharges; map::iterator it kwhcharges; //use the find function of map to get the pointer to correct entry according to key 'TDU it_monthlycharges = monthlycharges.find (TDU); it kwhcharges = kwhcharges.find(TDU); //calculate the charges total_charge -it_monthlycharges->second + (it_kwhcharges->second*0.01 usage); 1/print the final output cout>run; return 0; > Create a flowchart for a program that calculate the TDU charges on an electric bill. Use the attached document for the rates of each TDU. . The program will do the following: Ask the user who their TDU is. Ask the user how many kWh they used in the month. Calculate the TDU charges based on the kWh the user entered and the TDU they selected. Display the those charges with a brief explanation to the user. Ask the user if they want to enter another month. If so, allow the user to go through the process again. Be sure to think of other uses of the skills we have covered (error-checking, etc.) and apply them if possible. Photos - TD Screenshot song Set + Add to > e X Citate Sure TDU Delivery Charges To Per Money & Tot Per H by TDU) TDU Delivery Charges CENTERPOINT AEP TEXAS TEXAS - NEW AEP TEXAS ONCOR Updated October 15, 2015 MEXICO ENERGY CENTRAL NORTH POWER Total TOU Charges Per Month 3627 31105 37.85 Total TDU Charges. Par kWh1700 40512 BE 401950 483210 9.00 Use the following formula to calculate the TDU Delivery Charges billed: applicable charges based on customersage and current meter read date of invoice TDU Delivery Charges To TDU Delivery Charges Per Month (Tour TU Delivery Charges Per Wh Monty Bed Wh Usage Example (ONCOR TOU 1.000 kWh Usage 13.420.0380470 1.000 W 45.87 20 pc me here to search O FI $ 3 4 5 6 8 7 OD 9 E E R. T O

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!