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

  Explaining multicategory case a set of samples

In multicategory case a set of samples is said to be linearly separable if there exists linear machine which can classify them all correctly.

  Method called is isosceles that accepts three integers

The method returns true if the triangle is isosceles but not equilateral (meaning that exactly two of the sides have an equal length), and false otherwise.

  Currently use expert systems

Select two (2) companies that currently use expert systems. Then, discuss the fundamental advantages and disadvantages of using expert systems instead of human expertise within the companies that you have selected. Provide a rationale to support your..

  Pseudocode

Allow the user to enter a series of temperatures in degrees Celsius (C) terminated by the input of - 999. For each one, find the corresponding temperature in degrees Fahrenheit (F). The conversion formula is:

  Write a program that reads in an integer

Write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as 4 8 3 6 1 You may assume that the input has no more than five digits and is not negative.

  Develop a generator for random connected cubic graphs

Develop a generator for random connected cubic graphs (each vertex of degree 3) that have random weights on the edges. Fine-tune for this case the MST algorithms that we have discussed, then determine which is the fastest.

  P-value of a sample outcome

Suppose the P-value of a sample outcome is 0.132. Is this outcome statistically significant at the alpha=0.05 level? At the 0.01 level?

  What interview techniques do companies employ

Watch the "Interview" video found on the student media website. What interview techniques do companies employ? From your experience, have you been in an interview when these were used? Describe the differences and the approach to being successful ..

  Draw diagrams showing a conceptual view

A robot floor cleaner that is intended to clean relatively clear spaces such as corridors. The cleaner must be able to sense walls and other obstructions

  What aspects of nelson''s xanadu resemble the web

Search the Web for illustrations of the proposed Memex I or Memex II and compare the sketches to modern computer devices

  Covering segments by points

Given n segments, find the minimal possible number of points such that each segment contains at least one point. The first line contains the number 1≤n≤100 of segments. Each of the following n lines contains two integers 0≤l≤r≤109 defining the endpoi..

  Voluntarily gravitating to give up our real world experience

In an age of virtual worlds where people are spending inordinate amounts. Are we voluntarily gravitating to this world and giving up our real world experiences for virtual ones?

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