Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi Everyone, I need help with this assignment in c++ I have a couple similar pro

ID: 3683975 • Letter: H

Question

Hi Everyone, I need help with this assignment in c++ I have a couple similar problem and it is the difficult one. I will appreciate if someone can help me.

No Global variables (you can have global constants. No use of the stdio library (use iostream and fstream) and instead of the string class, you will be using arrays of characteres and the cstring library. Your program should always guards against bad data being entered by mistake. you can use flow control if/else and loops

The program should do:

1-Allow the shopper (user) to enter in the product name and the cost. This should be echoed and confirmed. Make sure to check for bad data.

2-Output the total thus far.

3-The user should be allowed to continue this until they want to checkout.

4-Your program needs to keep a running total.

5-Upon check out, the grand total should be displayed

6-Display money using proper formatting. You will need to have the following before displaying dollars and cents:

cout.setf (ios::fixed,

ios::floatfield);cout.setf(ios::showpoint);

cout.precision(s);

Explanation / Answer

Answer: