Total order and the sum of all orders

Assignment Help Basic Computer Science
Reference no: EM131154201

Your instructor would like you to write a program in C++ which would ask for the clerk to enter the total amount of the customer's order. The program will then calculate a seven percent (7%) sales tax. Commission is computed based on the following: order amount id="mce_marker" - $200 commission is 2%, order amount $201 - $400 commission is 3%, order amount $401 - $600 commission is 4%, order amount > $600 commission is 5%, The program will display the following: a) The amount of customer's order (eg. $500.00 or id="mce_marker",000.00) b) The tax amount c) The total amount including tax added d) Commission Amount e) The customer will make five orders, display the average of the total order and the sum of all orders. You must use at least two methods. Write the output to a file named "Order.txt" The program should also display "Thanks for your business and please come again."

Reference no: EM131154201

Questions Cloud

Relationship between satisfaction and performance : Which of the following statements about the relationship between satisfaction and performance is NOT correct?
Positive and negative technological advancements : Once the atom begins to be more understand, there are both positive and negative technological advancements that can possibly be made. Discuss at least one positive and one negative advancement that is related to the atom.
Compute the effective armature ac resistance : The dc resistance of the armature at this temperature is 0.0335 Ω per phase. Compute the effective armature ac resistance in per unit and in ohms per phase at 25°C.
What do you think of the structure of the un : What do you think of the structure of the UN? What are its strengths and weaknesses? If you were consulted to help design the main international organization for global governance, what would you do differently, and why?
Total order and the sum of all orders : Commission Amount e) The customer will make five orders, display the average of the total order and the sum of all orders. You must use at least two methods. Write the output to a file named "Order.txt" The program should also display "Thanks for ..
Business intelligence-analytics application : You may have seen business intelligence/ analytics application on Amazon.com (recommendation system suggesting customers who bought this also bought) and Netflix (movie recommendation).
Do you feel endangered species act should be strengthened : Do you agree or disagree with this? Why or why not? Do you feel the Endangered Species Act should be strengthened or weakened? Explain.
Find the rated and maximum torques : What is the armature current corresponding to the maximum torque?
Draw the precedence diagram : Draw the precedence diagram - what is the workstation cycle time required to produce 15 units per hour?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Second position from the right

A, B, C, D and E are sitting on a bench. A is sitting next to B, C is sitting next to D, D is not sitting with E who is on the left end of the bench. C is on the second position from the right. A is to the right of B and E. A and C are sitting tog..

  Short paper on security plan

Submit a security plan to secure the organization's database. The security plan will be submitted to the CIO. The organization has many concerns about unauthorized access, since there have been reports that some confidential information has been a..

  How long would this address assignment last

How long would this address assignment last? At the time when the company runs out of address space, how would the addresses be assigned to the three groups? (c) If CIDR addressing were not available for the seven-year plan, what options would the..

  What order will they leave the queue

what order will they leave the queue?

  Networks present of opportunities for security challenges

1. Networks present a lot of opportunities for security challenges. What type of network are you on, and what security elements are employed? Are they effective? Why or why not?

  Important parameters of firewall functions

You work for a network consulting firm and you have been asked to create a guide for firewall selection. Create an outline for a section that lists and defines the most important parameters of firewall functions, such as throughput.

  Apply ahash function to a first and last name

Write a java program that is able to apply ahash function to a first and last name (key) ofa person, and lookup the appropriate index in ahash table modeling a telephone directory.

  Display the value on eight leds of the demo board

display the value on eight LEDs of the demo board.

  What are the dod-specific requirements for an organization

What are the DOD-specific requirements for an organization's IT infrastructure and U.S. compliance laws that may affect the firm?

  Create a footer with the sheet name code in the center

Create a footer with the sheet name code in the center

  Question regarding the member variable

Your class should have a constructor, one additional method and at least one member variable (e.g. boolean isOn to turn the item on or off). Be sure you demonstrate your class works properly by constructing an instance of it and calling your metho..

  The amount of sales as input and outputs the total amount

A sales person gets a base salary of $200. They also get 3% of any sales between $500 and $1000 and 5% of any sales over $1000. Write a driver program named Commission.java that takes in the amount of sales as input and outputs the total amo..

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