Design pseudocode for a retailer to add up their daily sales. The retailer has m
ID: 3718211 • Letter: D
Question
Design pseudocode for a retailer to add up their daily sales. The retailer has many stores in two different states: Virginia and North Carolina. The user will need to enter the state and the sales amount. If the sales took place in Virginia, the program will add a 5.3% sales tax to the sales amount. If the sales took place in North Carolina, the program will add a 4.75% sales tax. Keep in mind that sales tax change, so design your program so that the amount can easily change. The program will output the sales amount with tax after each store entry for the user to view. The program should allow the user to enter sales from as many stores as they wish. Please make sure that you let the user know how to end the program. When the user is finished entering daily sales the program will list the following in addition to the store totals with tax: • The grand total sales for all the stores with tax, • The total sales with tax for the stores in each state.
Explanation / Answer
Solution:
Pseudocode:
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.