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]
-
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% CNT-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 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started