Question: Project 1 : The Corner Store You have been asked to write a program to calculate sales totals for a corner store. Your program will
Project : The Corner Store
You have been asked to write a program to calculate sales totals for a corner store. Your program will not know how many products each customer will buy, so your program will have to repeat the process until the last product has been entered use for Product ID to end each sale After each sale your program must ask if you want to do another sale continue, end program
At the beginning of the day, the cash drawer has $ in it At the end of the program you must display how much money is in the drawer after handling all your sales transactions.
Input
Your program must take the following input:
Product ID Number int
Quantity for each item purchased int
Use the following dataset to determine the price and taxability for each item.
First Sale:
Product ID Price Quantity Taxable
table$No$Yes$Yes$Yes$No
Second Sale:
Product ID Price Quantity Taxable
$ Yes
$ Yes
$ No
Third Sale:
Product ID Price Quantity Taxable
table$No$Yes$Yes
Calculating Tax
For those items that are taxable, assume a sales tax. Be sure to keep a running total of tax for the each sale.
Getting Started
You must use the starter file provided with this assignment. What to turn in:
A copy of your source code
A printout of your program's output
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
