how to code cash register program?
11 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!