Lab01-SalesReceipts-Microsoft Visual Studio File Edit View Project Build Debug T
ID: 3876720 • Letter: L
Question
Lab01-SalesReceipts-Microsoft Visual Studio File Edit View Project Build Debug Team Tools Test Analyze Window Help Debug x86 Local Windows Debugger - Lab01-SalesReceipts.cpp Lab01-SalesReceipts - (Global Scope) / Laben salesreceipts.cpp: Defines the entry point for the console application. 2 Samuel Gonzalez Checa R-include "5tda#x"h" include "1onanip 6 tinclude "iostrean include "fstream" 8 winclude "string using namespace std int main) 16 char lastNane, firstNane, tranCode int itenquantity; double itenPrice, singlePrice, totalsun e receiptFile; ifstrean receiptFile.cpen("salesReceipts.txt 15 coutExplanation / Answer
Hi Please follow the below steps.
1. Remove line number 23 & 29
2 And modify the expression the while as below
while (receiptFile >> lastName >> firstName >> tranCode >> itemPrice >> itemQuantity){
// add your statemnts here
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.