Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Baruch College CUNY You are writing a mini-cashier's checkout program. You should fulfill the specifications below in any way possible, according to what you have
Baruch College CUNY You are writing a mini-cashier's checkout program. You should fulfill the specifications below in any way possible, according to what you have learnt thus far. Part A Your program should obtain the following information from the user upon startup: .Name of the cashier. State that store is located in (Arizona, New York, etc) Date (separated into day, month and year) 10 points. Part B The program should display a welcome message to the user in the following format: Hello [cashier name] Welcome to Cashier App. You are currently cashing for a store located in [state] Today's date is [date]. The program should allow the user to enter, for 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: New York-9.75% New Jersey-8.25% Connecticut-7.5% Tennessee-4.5% All Others-10% After calculating the total amount owed for a single product, the program should display the name of the product and the total and then ask the user whether or not they would like to enter another product ie. Eggs-$10.74 Would you like to enter another product? After the user has entered all of their products, you should display a summary of the purchases that tells the user how many items were entered and the total amount due ie. You have entered 14 products. Your total amount owed is $845.89 50 points
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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