Question
C++ The Student Shopping List File You are to process the input data and produce the report file shown below. The output format must match
C++
The Student Shopping List File
You are to process the input data and produce the report file shown below. The output format must match exactly that shown below. The the column widths are 16, 10, 9, and 12.
The tax rate is 9%, but there is no tax on the apple or the water.
Program requirements
1. Make sure you check for successful file opens.
2. Include at least 3 named constants. Suggestions: input file name, output file name, and tax rate.
3. Include at least 2 functions besides main(). Suggestions: a function to return the tax amount, a function to write the headings.
4. Place the function definitions below main() and function prototypes above main().
5. You may not modify the input file.
Student's Shopping List apple 0.89 book 135.00 eraser .59 flashdrive 7.99 folder 1.29 highlighter 0.98Step 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