Project+2-8

Write a program that will function as a point of sale system at a rodeo snack bar. The snack bar sells only 6 different items: sandwich, chips, pickle, brownie, regular drink, and a large drink. All items are subject to sales tax. Set prices for the products.

The program should repeatedly display the following menu until the sale is totaled. The program should keep a running total of the amount of the sale based on costs that you place in constants for each of the food items. The running total should be displayed somewhere on the screen each time the menu is displayed again.

S-Sandwich C-Chips B-Brownie R-Regular Drink L-Large Drink X - Cancel sale and start over T- Total the sale

If the sale is canceled, clear your running total and display the menu again. When the sale is totaled, calculate the sales tax (use 6%). Print the final total due on the screen.

You can use your own functions to design a solution to the problem. You are required to use a function to calculate the sales tax. Other use of functions is up to you.

Save the source code as rodeo.cpp