A wholesale book dealer neeeds a program to write invoices or book orders that he takes over the phone. Each order usually consist of multiple copies of several book titles. The program should ask the user if thee is an order to process. If the user responds yes, the program should then ask for the price of the first book in the order & the # of such books. The program should then display the cost of these books, including a 7.5% sales tax. Then it should ask for the price of the second book in the order & the # of such books, & display the cost of these books. The program should continue in this way, procesing the books in the first order. When there are no more books in the order, the program should display the total cost of the order. Then the program should ask if there is another order. If there is one, the program should process it as just described. If there are no more orders, the program should display the total # of orders processed, # of books sold, & total receipts.
2006-07-25
04:09:34
·
5 answers
·
asked by
812BOSS
1
in
Computers & Internet
➔ Programming & Design