C++ Programming Assignments (Sheet 1) - 24951730
C++ Programming Assignments (Sheet 1) - 24951730
C++ Programming Assignments (Sheet 1) - 24951730
Public members:
readdata():Function to accept value from bcode, name,
innings, notout and invoke the function
S = sandwich
C = chips
D = drink
X = Cancel sale and start over
T = Total the sale.
If the sale is canceled, clear the running total and display the
menu again. When the sale is totalled, calculate the sales tax
and print the salesperson’s name, the number of items, the
total before tax, the tax and final total, on the screen. Use a
sentinel loop with “T” as the sentinel value.No input,
processing or output should happen in the main function. All
work should be delegated to functions.