Write a program to create a customer''s bill for a company

Assignment Help Basic Computer Science
Reference no: EM13776242

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 read from the keyboard the quantity of each piece of equipment purchased. It then calculates the cost of each item, the subtotal, and the total cost after 3.25% sales tax. The input data consist of a set of integers representing the quantities of each items sold.

Example of the input is shown below:

How many pack of CDs were sold? 5

How many keyboards were sold? 120

How many printers were sold? 35

How many pen drives were sold? 235

How many speakers were sold? 83

QTY DETAILS UNIT PRICE (RM) TOTAL PRICE (RM)

------ ------------ ----------------------- ---------------------------

XX CD 60.00 XXXX. XX

XX KEYBOARD 130.00 XXXX. XX

XX PRINTER 850.00 XXXX. XX

XX PEN DRIVE 65.00 XXXX. XX

XX SPEAKER 12 .50 XXXX. XX

-------------------------------------------------------------------------------------------------------------

SUBTOTAL : RM XXXXX. XX

TAX : RM XXXXX. XX

TOTAL : RM XXXXX. XX

Reference no: EM13776242

Questions Cloud

How would you describe the work of robert rauschenberg : How would you describe the work of Robert Rauschenberg? How is it different from what had come before? Why did Rauschenberg create his art with this approach?
Examine the four strategic components for Cycle products : Examine the four strategic components for that product, and determine the life cycle stage introduction, growth, maturity, or decline that the selected company is in currently.
Types of information systems available to businesses : Scenario: Imagine that you and a business partner are considering starting a small, brick & mortar, nostalgic record store. Your friend does not have much experience with information systems or technology, and needs a basic understanding of the di..
Potential implementation of new information systems : Prepare a 350- to 700-word proposal addressing the potential implementation of new information systems in your organization.
Write a program to create a customer''s bill for a company : 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.
Write an essay about should ads that promote products : Write an essay about should ads that promote products using subtle manipulation be regulated by the government.
What is meant by logical independence : What is meant by logical independence. Explain the term second normal form.
How did opentable change its marketing strategy to succeed : How did OpenTable change its marketing strategy to succeed? Why would restaurants find the software-as-a-service model very attractive?
What can be implemented to eliminate the strain : What can be implemented to eliminate the strain and costs associated with emergency departments and also provide care regardless of ability to pay

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Issues information technology

Locate a news article based on a recent event on ethical issues related to information technology. For example, Wikileaks, Snowden, etc...

  Installation options for customer tracking system

Which installation options are available for the Customer Tracking System? Which would you recommend? How can you determine if implementation has been successful?

  What is the order of the functions

What is the order of the functions

  Write the windows cli net commands

Write the Windows CLI NET commands that will turn the Spooler service OFF and then ON.

  Convert the decimal integer

Convert the decimal integer -24 to 16 bit and 32 bit two's complement hexadecimal representation. show your calculations.

  Create a portable forensic evidence kit

Create a portable forensic evidence kit for corporate security investigations.

  Write a function takes two int arguments

Write a function takes two int arguments (raise AssertionError if the first is > the second); it returns a function that takes an int as an argument and returns a bool indicating whether that value is between the two arguments passed to betwee..

  Various standards organizations utilized in this industry

Discuss the various standards organizations utilized in this industry. Do they have conflicting charters or have they worked in different areas to form a coordinated industry overview?

  Write a program that displays the number of students

Write a program that displays the number of students that can still enroll in a given class. Design your solution using a multidimensional array. The first column can hold the computer course number.

  Which shipper service to choose for company

Your task is to choose the best shipper for company. Compare these shippers, like FedEx (www.fedex.com), UPS (www.ups.com), and the U.S. Postal Service (www.usps.gov).

  . assume the node is in the usual info-link form with info

Show what is produced by the following C++ code. Assume the node is in the usual info-link form with the info of the type int. (list, trail, and current are pointers of type nodeType.)

  Define a class called blogentry

Define a class called BlogEntry that could be used to store an entry for a Web log. The class should have instance variables to store the poster's username, text of the entry, and the date of the entry using the Date class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd