how to code cash register program?
5 views (last 30 days)
Show older comments
Write a program that will give a user a list of hardware items to be purchased including:
Nails @ $1.50/lb
Screws @ $2.35/lb
Hammer @ $20.29
Screw gun @ $87.42
Sheet metal @ 1.50/ft2
Have the user select their purchases then add up the bill and output the items bought and the total. Also charge the customer 6% sales tax. Use the switch statement and a while loop to keep asking your customer if they are done with their order.
Include flow-chart, pseudo code
Answers (0)
See Also
Categories
Find more on Cash Flows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!