The Cashier Module
You are ready to add some of the point-of-sale functionality to the project. Currently, the cashier.cpp program displays a simulated sales slip without any sale information. Modify this, program so that prior to displaying the simulated sales slip, it asks for the following data:
• The date. Expect the user to enter a date in the form MM/DEINY. This should be entered as a string and stored in a char array.
• The quantity of the book being purchased. Store this number in an integer variable.
• The ISBN number of the book being purchased. The ISBN number is a string, contains numbers and hyphens. Use a char array to store it.
• The title of the book. Store the book title in a char array.
• The unit price of the book. Store this number in a float variable.
Here is an example of what the screen might look like:
Once this data is entered, the program should calculate the merchandise total (m ply quantity by price), and a 6 percent sales tax. The program should then display simulated sales slip. Here is an example:
The dollar amounts should all be displayed in fields of six spaces with two de places of precision. They should always be displayed in fixed-point notation and decimal point should always appear.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.