Mon Oct 29, 2012 9:12 am
Write a program to create a customer’s bill for a company. The company sells five computer gadgets which are CD, keyboard, printer, pen drive and speaker. The unit prices are RM60.00 per pack, RM130.00, RM850.00, RM65.00 and RM72.50 respectively. The program must require user to input quantity of each piece of equipment purchased. It then calculates the cost of each item, the sub total, and the total cost after 3% sales tax.
YOUR PROGRAM MUST DECLARE unit price and the tax rate AS CONSTANT.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.