Dealerships are awarded the rebate

Assignment Help C/C++ Programming
Reference no: EM13162722

 

CKG Auto runs several promotions each year to reward their three dealerships for their sales efforts. CKG Auto is running two different promotions based on performance over this past calendar year. The promotions are as follows:

  • rebate on shipping expenses based on exceeding expected quarterly volumes. These are saving CKG Auto realizes from its trucking carriers and has decided to pass along as a reward to dealerships that have exceeded expectations. Rebates for each quarter were set by management as follows:
    • 1st quarter, $75 per car sold (actual volume);
    • 2nd quarter, $109 per car sold;
    • 3rd quarter, $88 per car sold; and
    • 4th quarter, $122 per car sold.

Dealerships are awarded the rebate on a quarter-by-quarter basis, only for quarters where their actual sales exceeded expected volumes for that quarter. Expected sales volumes for each quarter are as follows:

  • 1st Quarter, 300
  • 2nd Quarter, 425
  • 3rd Quarter, 410
  • 4th Quarter, 320
  • An overall sales volume bonus based on exceeding expected annual volumes. Dealerships that exceed the expected annual sales volume by at least 10% are awarded a $15,000 bonus, otherwise no bonus is awarded.

You have been asked to develop a program that will allow the district sales manager to input each of the dealership's ID along with their four quarterly sales volumes for the year, calculate and display each quarter's rebate and the sales bonus for the year.

Validate the quarterly sales volume to ensure that values are greater than zero. If any of the 4 values are invalid, display an error message and allow the manager to input the 4 values again.

 

 

Reference no: EM13162722

Questions Cloud

Category of compulsions and mental disorder and diversity : Which is not a category of compulsions?  With regard to mental disorder and diversity, which statement(s) is/are true?
Major depression-bipolar disorder : In contrast to major depression, bipolar disorder,  is more common in the general population,  is more prevalent among women than men,  is more prevalent among married people,  usually occurs before age 30
Write a program which accepts the total of food and drink : Write a program which accepts the total of food and drink purchased for a restaurant bill as input. The output should be adjusted bill with a sales tax of six percent 6% and a tip (gratuity) of 15%.
Write the class definition for a class called complex : . Write the class definition for a class called complex.
Dealerships are awarded the rebate : Dealerships are awarded the rebate on a quarter-by-quarter basis, only for quarters where their actual sales exceeded expected volumes for that quarter. Expected sales volumes for each quarter are as follows:
B+-tree : For the B+-tree where M=3 and L=5 shown below, show how an insert of value 80 is handled.
Encryrption of some unknown : Assume (A1,B1) is an encryrption of some unknown m1. Prove that (A1,B2g^(m2) mod p) is a valid  encryption of m1 + m2 mod p. More generally, if (A2,B2) is an encryption of m2, what is (A1A2  mod p,B1B2 mod p) an encryption of?
Problem resolution in an organization. : In a one to two page (two page double-spaced maximum) paper explain why information systems today are currently effective or ineffective in assisting with problem resolution in an organization.
Design a calculator in assembly : Design a calculator in assembly that can handle +,-,/,%, * and expresses errors in the case of division by zero or invalid characters using the template below.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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