Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use this data for a txt input file. ItemID Name Qty Price 10001 Strawberry 3 7.50 10002 Lemon 6 5.75 10003 Kiwi 9 2.50
Please use this data for a txt input file. ItemID Name Qty Price 10001 Strawberry 3 7.50 10002 Lemon 6 5.75 10003 Kiwi 9 2.50 10004 PassionFruit 6 5.75 10005 Melon 7 2.50
Please leave notes so that I'm able to follow along :)
Write a C++ Menu driven program using pointers, arrays, vectors, functions and file 10 to do the following: 1. Ask the user for an input file. 2. Read and process data from a file the Grocery Items, quantity and price 3. Calculate the total for each item, Add them up and calculate the tax (NYC is 8.75%) 4. Print out your shopping receipt (like you get when you get it from the store. 5. Write to a file the output of 5 items, quantity, price and total for each item, sub-total, tax and grand totalStep 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