Question: Write a program using C++ in which it should include the following information from the user upon startup:Name of the cashier . State that store
Write a program using C++ in which it should include the following information from the user upon startup:Name of the cashier . State that store is located in (Arizona, New York, etc) Date ( day, month and year) display a starting message like this
-
Hello [cashier name] welcome to the cashier app
you are currently working for a store located in [state]
todays date is [date]
-
The program should allow the user to enter an unlimited number of products, the name of the product, the price and the quantity being purchased. The program must calculate the amount of tax to add to the price, depending on which of the following three states the program is being used in:
NY - 9.75% NJ - 8.25% CT-7.5% TN - 4.5% Others-10%
After calculating the total amt owed for one product the program should display the name and the total
Ex:Eggs - $10.74
and then ask the user "Would you like to enter another product?"
After the user has entered all products,
you should display a summary of the purchase that tells the user how many items were entered and the total amount due
Ex: You have entered 14 products. Your total amount owed is $845.89
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
