Write program determines sales person total sales and salary

Assignment Help Basic Computer Science
Reference no: EM13233406

A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus a 9 percent commission of their gross sales for the sales period. For example, a salesperson who grosses $5000 in sales i the period receives $200 plus 9% of $5000 or a total of $650. Write a program that determines for each sales person their total sales and their salary. There are 5 salesperson for the company. You are to write from a txt file which contains the information for all 5 sales people. The file contains the salesperson's number 1-5 with numerous sales. List each person's number, their total sales and their salary for the period in a nice table format ,(The columns must line up) Restrictions: NO ARRAYS, use a switch statement and use functions

Reference no: EM13233406

Questions Cloud

Compare and contrast lincoln electric and southwest airlines : Compare and contrast Lincoln Electric and Southwest Airlines with regard to the following
What is the difference between mas and weight : What is the difference between mas and weight? On earth, what is the weight of a 1 kg mass, When your textbook says that the moon "falls around the earth,
Explain what two steps in the reaction are accelerated : A strong acid is generally used to catalyze the Fischer esterification of carboxylic acids. What two steps in the reaction are accelerated by the presence of strong acid, and what function does the acid play in each of these steps
Prepare a presentation or write a paper summarizing culture : Prepare a presentation or write a paper summarizing the culture.
Write program determines sales person total sales and salary : Write a program that determines for each sales person their total sales and their salary
Formulate a strategy for disseminating product information : The marketing department is asked to formulate a strategy for disseminating product information and controlling Tigason's use.
Explain curved arrows to symbolize the flow of electrons : Using curved arrows to symbolize the flow of electrons, write the stepwise mechanism for the acid-catalyzed esterification of p-aminobenzoic acid to give ethyl p-aminobenzoate.
What is the kinetic energy : What is the kinetic energy of a 0.5-kg object moving at a constant speed of 2 m/s, A physics-110 student needs 500 W of Power to climb two flights of staris to get to the physics class room in 40 s
Define what concentration of the salt : What concentration of the salt NaC2H3O2 must be added to shift the equilibrium toward the reactants so that the [H3O+] concentration is reduced to pH = 5.5

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determine the source rate r

Suppose that 30 pictures are sent per second. (This digital source is roughly equivalent to broadcast TV standards that have been adopted.) Determine the source rate R (bps).

  What is the value of x given the specified value for y

What is the value of X given the specified value for Y (both X are 8-bit unsigned values): /* which is 10100101 in Binary; a) Y=0xA5; X=Y & 0x0F; b) Y=ox88; X=Y | ox83; C) Y=0x25; X=Y && ~Y;

  Is imageholder and picturebox are similar controls

ImageHolder and PictureBox are similar controls. Do you agree? Why or why not?

  What is the global cpi for each implementation?

Given a program with a dynamic instruction count of 1.0E6 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, which implementation is faster?"

  Write a method firstlast that could be added

Write a method firstLast that could be added to the LinkedIntList class that moves the first element of the list to the back end of the list. Suppose a LinkedIntList variable named list stores the following elements from front (left) to back (right)

  Find a regular expression for the language

Find a regular expression for the language over {a,b} that consists of all strings containing exactly one occurrence of substring ab.

  Design a program that will allow a user to input a list

Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who lives in Texas

  Use strong induction to show that every positive

Use strong induction to show that every positive integer n can be written as a sum of distinct powers of two, that is.

  How many time is the loop body of the while statement

Assume that all variables are of type int. z = 0; g = 0; s = 0; i = 0; while (i = 0) g = g + 1; else z = z + 1; i = i + 1; } 1.How many time is the loop body of the while statement executed?

  Explaining responsibility ofconfidentiality to employer

Describe what you must do in such a situation. You know that cost to your present employer will increase if ambiguities are not resolved. Though, you also have a responsibility of confidentiality to previous employer.

  Java / xml example that utilizes some form of recursion

Java / XML example that utilizes some form of recursion. Include blocks of code and the XML with your example

  Design a 8m x 32 bit memory board

design a 8M x 32 bit memory board. You may use only 256K x 8 bit RAM chips with full parallel addressing.

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