How many of the salespeople earned salaries

Assignment Help Computer Engineering
Reference no: EM132158938

Use pointers (not static array) to solve the following problem in C++:

A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week.

For example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9 percent of$5000,or a total of $650.

Write a program (using an array of counters) that determines how many of the salespeople earned salaries in each of the following ranges (assume that each salesperson's salary is truncated to an integer amount):

a)$200-299

b)$300-399

c)$400-499

d) $500-599

e) $600-699

f) $700-799

g) $800-899

h) $900-999

i) $1000 and over.

Reference no: EM132158938

Questions Cloud

Compute a confidence interval with a sample size : Suppose you compute a confidence interval with a sample size of 100. What will happen to the confidence interval if the sample size decreases to 80?
Create the array inside the class : Create the array inside the class. Create a method that will fill the array with 10 random integers.
Diagnosed with autism spectrum disorder : In 2008, there were 507 children in Arizona out of 32,601 who were diagnosed with Autism Spectrum Disorder (ASD) ("Autism and developmental," 2008).
Lower critical value and a positive upper critical value : This is a two-tailed test with both a negative lower critical value and a positive upper critical value. Separate variances is assumed.
How many of the salespeople earned salaries : A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week.
Are you protected from packet sniffing : If you use a mobile device, but connect with the cell tower wireless instead of the classroom LAN, are you protected from packet sniffing? Why or why not?
Show that the midpoint decision parameters are the same : Show that the midpoint decision parameters are the same as those in the Bresenham line algorithm.
Compute a confidence interval for the mean : To compute a confidence interval for the mean, population standard deviation unknown, n = 30, and a = 0.05, enter the critical value with 3 decimal places
To compute a confidence interval for the mean : To compute a confidence interval for the mean, population standard deviation unknown, n= 25, and a = 0.10, enter the critical value with 3 decimal places.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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