A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays the subtotal of the sale, the amount of the sales tax and the total. The sales tax is 6 percent.
- Submit your C++ source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow. Also submit the RAPTOR file (flowchart) of your working program.
- Make sure you run it to make sure it is error free and does what it is supposed to.
You can use the generate dropdown to create example C++ code based on your working logical flow chart to see what the code would look like.
Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed.
Instructions:Enter or paste your written work and/or click “Attachments” to upload your files.
If you would like more information about using Raptor, there are a Introduction to Raptor, webinar videos and helpful written tips to help you through your course in the Teaching and Learning Center under the Computer Science Center / CS192 Programming Essentials. You can use the followinglink.