We are writing a program that will function as a point of sale system at a sports arena snack bar. The snack bar sells only six different items. They are listed along with their unit prices and sales codes:
• S - Sandwich $7.50
• C - Chips $2.00
• B - Brownie $1.75
• R - Regular drink $2.50
• L - Large drink $4.75
• X - cancel and start over
• T - total the sale
All items are subject to sales tax. 6%.
The program will start by displaying this menu.
S - Sandwich $ 7.50
C - Chips $ 2.00
B - Brownie $ 1.75
R - Regular drink $ 2.50
L - Large drink $ 4.75
X - Cancel sale and start over
T - Total the sale
The current total is: $0.00
Enter your selection (q to quit):
can somone plz show me how to write that...
You are unlikely to get anyone to do your course work for you, if you have a specific question about a problem then post it, preferably with source code. If you show that you are trying to do the work people are more likely to help!
How about you write something, then come back with a more specific question. This forum has plenty of people willing to help (myself included), but not too many willing to give handouts.