Create the array to determine discount amount

Assignment Help Programming Languages
Reference no: EM1354010

1) Use the following information to create an array (DISCOUNT-ARRAY) that will be used to determine the discount a company will give based on the amount of an order. Discounts are based on the dollar amount of the order. If the amount is less than 100.00, then no discount is applied. If the amount is 100.00 to 199.99, then the discount is 1 percent. If the amount is 200.00 to 499.99, then the discount is 2 percent. If the amount is 500.00 to 999.99, then the discount is 5 percent. If the amount is 1000.00 to 9999.99, then the discount is 10 percent. If the amount is greater than or equal to 10,000, then the discount is 15 percent.

Reference no: EM1354010

Questions Cloud

Among which of the following us policies and institutions : Among which of the following U.S. policies and institutions may negatively influence U.S. long-run economic growth.
Considering the internal control component : Which of the following describes the internal control component "monitoring of controls"?
Use capm to calculate the expected return : Weyerhaeuser, The forest products manufacturer, traded at $42 at the starting of 1996. Beta services typically place its beta at 1.0 with a market risk premium of 6%.
Internal control component for control procedures : Which of the following describes the internal control component "control procedures"?
Create the array to determine discount amount : Create the array (DISCOUNT-ARRAY) that will be used to determine discount company will give based on amount of an order.
Scientific selection of employees : I need help with analyzing the utility of the scientific selection of employees. I need to discuss the advantages and disadvantages of using scientific seletion.
What is the angular dispersion of visible light passing : compute the linear speed due to the Earth's rotation for a person at a point on its surface located at 40o N latitude (this would be near the Ohio river valley, for instance). The radius of the Earth is 6.40 ξ 106 m. (For comparison, the speed of ..
Explain what is multidivisional structure : Multidivisional Structure - Explain what types of organizations use a multidivisional structure
Shields by internal control : Which of the following is not one of the shields provided by internal control?

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to find real solutions

Method, which determines whether value of "b squared" - 4ac is negative. If negative, code then  prints out message "no real solutions" and returns from method.

  Computing average net profit per sale of product

Your company bought 250,000 online advertising impressions and made average net profit per sale of product of $5.

  Design program to ecode message using caesar cypher

Design a program which decodes messages. Messages will be encoded using Caesar cypher, with each letter being decoded by replacing it with previous letter in alphabet.

  Create a model using the entities movie

Create a model to represent this report using the entities MOVIE, THEATER, and SHOW_TIME. Assume that theaters may show multiple movies.

  Design and algorithm that compute numbers of married men

Design and algorithm that will read through the file and compute the numbers of married men, single men, married women and single women.

  Program to read from an input file

Write a program to read from an input file for 15 students, that contains each individual student ID, the course code, letter grade, and credit hours for five courses.

  Subdividing address block among four different customers

The ISP needs to subdivide the address block among four different customers, requiring 29, 28, 27, and 26 hosts respectively.

  Development of the current strategic potential of airline

Evaluate the organisation's current external and internal strategic position

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Timer interrupt to coordinate peripherals on microcontroller

The timer interrupts to coordinate peripherals on the microcontroller. Use code from prior labs to drive the peripherals and will make minor modifications to use the interrupts.

  Program to compute perimeter and area of rectangle

Write a program that asks for length L and the width W of a rectangle, then compute perimeter and area of the rectangle.

  Write a vhdl code for soda vending machine

Write a VHDL code that implements the above soda machine. You have to turn in the following: A state diagram showing the implementation of your design. Clearly show all the states and the conditions on which transitions occur.

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