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

  Wilkerson-irwin algorithm to minimize mean tardiness

Write a program to implement the Wilkerson-Irwin algorithm to minimize mean tardiness.

  Program to compute person-s body mass index

Write a program to compute person's body mass index? Create a modular program which calculates and display person's body mass index (BMI).

  Function to responds- to click anywhere on page-display box

Write a function that responds to a click anywhere on the page by displaying an alert dialog. display the event name if the user held shift during the mouse click.

  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 that asks for user-s age

Write a program that asks for user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote".

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Html/css

"Validating Your Work" Please respond to the following:  Describe attribute minimization. Explain what would happen if you tried to validate a page containing instances of attribute minimization. Propose a solution to this problem.

  Program that uses for loop prompt user to input two integers

Write a program that uses for loop to preform the following steps: Prompt the user to input two integers: firstnum and secondnum.

  Implicit unsafe type conversions-statements and expressions

Write a report using APA format for references that researches the definition of the language with respect to implicit unsafe type conversions in both assignment statements and expressions.

  Describe purpose of keyword super in programs

Describe purpose of keyword 'super' in programs

  Approach for building site in-house with existing staff

Web site Consider your options for building the site in-house with existing staff, or outsourcing the entire operation. Decide which strategy you believe is in your company's best interest and create a brief presentation outlining your position.

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