Write script to get gross sales for each employee by xhtml

Assignment Help Programming Languages
Reference no: EM1357538

Use a one-dimensional array to solve the folloing problem: A company pays its salespeople on a commission basis. The salespeople 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 script (using an array of counters) that obtains the gross sales for each employee through an XHTML form and 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: EM1357538

Questions Cloud

Illustrate what pricing strategy will maximize your profits : e marginal cost of making a copy is $.50 (50 cents). The average customer makes 4 copies at a time. Illustrate what pricing strategy will maximize your profits.
Adjusting journal entries-trading securities : Prepare the adjusting journal entry needed on December 31, 2006. Prepare the journal entry to record the sale of the Colorado Company stock during 2007.
Elucidate why a currency appreciation does not improve : Elucidate why a currency appreciation does not improve a nation's balance of trade.
Compute percentage return : Suppose you buy hundred shares of Sadia Fund at the offering price of $40.00. There is no front- or back-end load, but the operating expense ratio is 2.0 percent.
Write script to get gross sales for each employee by xhtml : Use a one-dimensional array to solve the folloing problem: Write a script (using an array of counters) that obtains the gross sales for each employee through an XHTML form and determines how many of the salespeople earned salaries
Compute the average cost function for skateboards : compute the average cost function for skateboards. what shape does the graph of this function have. What is the average at this level of output.
Accrue monthly sales salaries expense : Metro Express has 5 sales employees, each of whom earns $4,000 per month and is paid on the last working day, of the month. Each employee, wages are subject to FICA social security taxes of 6.2% and Medicare taxes of 1.45% on all wages.
Tying compensation with performance measures : Show unethical behavior that can result if the wrong performance measures are used to tie performance measures to compensation.
What is the value of h : Two mirrors meet at a 133° angle. If light rays strike one mirror at 40°, at what angle ? do they leave the second mirror?what is the value of h.

Reviews

Write a Review

Programming Languages Questions & Answers

  Building instruction set simulators

Building Instruction Set Simulators

  Develop logic to accept number of passengers-zones as input

Develop the logic for a program that accepts the number of passengers and zones crossed as input. the output is the ticket charge.

  Designing menu for administrator to simulate transmissions

Design a menu which permits administrator to simulate transmissions of information by manually typing in login or logoff data.

  Create a model using the entities movie

Create a model to represent this report using the entities MOVIE, THEATER, and SHOW_TIME. Assume that theaters may show multiple movies.

  Void function to display in nicely formated way

Write a void function display_exer() that display in a nicely formated way the eat members of an exerclass object. Pass the object to the function by reference.

  Design interactive program using prewritten methods

Design an interactive program that does the following, using the prewritten methods whenever they are appropriate. Prompt the user for and read a library card number, which must be between 1000 and 9999.

  Computing average net profit per sale of product

Your company bought 250,000 online advertising impressions and made average net profit per sale of product of $5.

  Program to fill 0s and 1s into tictactoe board

Write a program which randomly fills in 0s and 1s into TicTacToe board, prints board.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  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.

  Program to processes the test data

Write a program that processes the test data. The output should be the student's ID, followed by the answers, followed by the test score, and followed by the test grade.

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