Write a c program for salaries of salespeople

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

Question: (Sales Commissions) Use a single-subscripted array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $3,000 in sales in a week receives $200 plus 9% of $3,000, or a total of $470. Write a C 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: EM131681312

Questions Cloud

Improving the weaknesses of the selected program : Step 1. Research a prevention program from a health plan. (You may use your own health insurance plan for your response.)
Define human services professional in an elementary school : a human services professional in an elementary school or community-based setting with a large population of at-risk students
Describe the purpose of an acceptable use policy : Describe the purpose of an Acceptable Use Policy you have selected and explain how the AUP helps provide confidentiality, integrity, and availability.
Define what is the unconditioned response : Every afternoon, you feed your cat canned cat food that you must open with a can opener. One afternoon, before it's time to feed your cat
Write a c program for salaries of salespeople : (Sales Commissions) Use a single-subscripted array to solve the following problem. A company pays its salespeople on a commission basis.
Objective frameworks for organizational analysis : Compare the similarities and differences between 'subjective' and objective frameworks for organizational analysis.
Determine the fundamental obstacles : Analyze the main advantages and disadvantages of using data analytics within the industry or company that you have chosen.
How social behavior is genetically determined : One primary argument against sociobiology is that it discourages social reforms. Opponents point out that if social behavior is genetically determined
Contextual dependency of strategic change : Discuss Pettigrew's theory on the contextual dependency of strategic change. Explain the concept of the disciplining context and why medical professionals.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Structure of binary trees to make a family tree

Create a program that uses the structure of binary trees to make a family tree of two generations.

  Calculate the price per item for that purchase

Read the information for one purchase into a variable of your struct type. Calculate the price per item for that purchase. Output the data in formatted columns (as in program #1). Add the item cost into a total cost variable.

  Accomplish the preceding task

However, the customer details maintenance application crashed as Dwayne mistakenly entered the wrong file path. Therefore, he asks Elina to modify the application so that it does not crash due to similar errors. Modify the code that Elina needs to ..

  Ansi-c program complete assignment as per written in the

complete assignment as per written in the attached

  To use a sentinel loop so once the value of -99 i

modify this program to use a sentinal loop so once the value of -99 is entered after getting the pay and hours the program should end.

  Calculate gpa

You need to take input from user study year (proper value check from 1 to 4). Take input semester (proper value check 1 to 8) Calculate GPA (use Loop, calculate GPA for semester 1,2,3...)

  Compute the power loss in a transmission line

A program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compare the power loss if 500 kw of power is transmitted from a power generating station to cities at distances of 20, 30, 40, 50... 100 miles at 100 V..

  Write program in c to calculate diameter-compression load

Write a program in C to calculate diameter in centimeters of steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  Writing a program that creates a linked list

Writing a program that creates a linked list from 100 randomly generated numbers and sorts the using a heap. One heap in ascending order and one heap in descending order. Then displays the original linked list and both sorted lists.

  Create a visual c++ project and evaluate it

Project->properties->Configuration properties->Precompiled Headers-> Create/use precompiled headers to Not using precompiled headers

  Write a program about a book order

Write a C++ program that asks for the following information about a book order from the console: Title and Author

  Squares, triangles, circles and ellipses

write a program which will answer a pair of questions for squares, triangles, circles and ellipses. A square is defined by its lower left corner ( S L L x , S L L y ), and the length of one side  S W .

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