Invoices main pseudocode: declare variables: char array for company name boolean
ID: 3529817 • Letter: I
Question
Invoices main pseudocode: declare variables: char array for company name boolean return variable integer invoice_number, part_number, quantity real unit_price, total_price an ifstream object and an ofstream object open files ret = call of filread(&company;, &invoice;_number, _number, &quantity;, &unit;_price, &infile;) while (return is true) total_price = quantity * unit_price; call of filwrite(company, invoice_number, part_number, quantity, unit_price, total_price, &outfile;) ret = call of filread(&company;, &invoice;_number, _number, &quantity;, &unit;_price, &infile;) end while close files stop filread pseudocode: passed vars: &company;, &invoice;_number, _number, &quantity;, &unit;_price, &infile; read company name from file if (company is null) return false read invoice_number read part_number read quantity read unit_price read ' ' at end of second line return true filwrite pseudocode: passed vars: company, invoice_number, part_number, quantity, unit_price, total_price, &outfile; write invoice heading write buyer company name with label write invoice number with label write part_number with label write quantity with label write unit_price with label write total_price with label return Help with program!!!Explanation / Answer
it may be easier to read if you keep a little mroe whitespace. Try using pastebin.com or dropbox.com to share a link to the code if it is chegg that's corrupting your format
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.