1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
LenaWriter [7]
4 years ago
9

Use a one-dimensional array to solve the following problem: A company pays its salespeople on a commission basis. The salespeopl

e 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), for a company with 20 employees, 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.
Business
1 answer:
professor190 [17]4 years ago
8 0

Answer:

import java.util.Scanner;

public class commission

{

   public static void main(String[] args) {

      Scanner input = new Scanner(System.in);

        int totals[]={0,0,0,0,0,0,0,0,0};            

      int n,sales,i,index;

       double salary;

        System.out.print("how many salesmen do you have? ");                            

      n=input.nextInt();

        for(i=1;i<=n;i++)

           {System.out.print("Salesman "+i+" enter sales: ");

            sales=input.nextInt();

            salary=200+(int)(.09*sales);

               System.out.printf("Salary=$%.2f\n",salary);

            index=(int)salary/100-2;

            if(index>8)

                index=8;

            totals[index]++;

            }

        System.out.println("SUMMARY\nSALES\t\tCOUNT");

        for(i=0;i<8;i++)

           System.out.println("$"+(i*100+200)+"-"+(i*100+299)+"\t"+totals[i]);

        System.out.println("$1000 and over\t"+totals[i]);

       }                                

   }

Explanation:

You might be interested in
9. What are two reasons someone might purposely choose a HIGHER monthly payment?
JulijaS [17]
The first reason is they were rich.
The second reason is they win a casino lottery.

Extra answer: or maybe they are a show off? how much money they have.

Hope I get Brainliest
3 0
3 years ago
Read 2 more answers
____ is a referral service that employees can use to seek professional treatment for emotional problems or substance abuse.
Ipatiy [6.2K]

Answer:

Employee assistant programs

Explanation:

An employee assistant prgram is a program organized by organizations to assist their employees' personal problems which are hindering their performance in work-place.

EAP's tend to assist those employees that suffer from alcohol abuse, emotional abuse, substance abuse, etc. EAP's is a short-term counselling or follow-up sessions provided  to employees facing above-mentioned abuses.

Therefore, the correct answer is employee assistant programs.

7 0
3 years ago
Kingston Company purchased a piece of equipment on January 1, 2015. The equipment cost $200,000 and had an estimated life of 8 y
DaniilM [7]

Answer:

Annual depreciation= $32,812.5

Explanation:

Giving the following information:

The equipment cost $200,000 and had an estimated life of 8 years and a salvage value of $25,000.

<u>To calculate the annual depreciation expense, we need to use the following formula:</u>

Annual depreciation= 2*[(book value)/estimated life (years)]

2015:

Annual depreciation= 2*[(200,000 - 25,000) / 8]

Annual depreciation= $43,750

2016:

Annual depreciation= 2*[(175,000 - 43,750) / 8]

Annual depreciation= $32,812.5

3 0
3 years ago
Help pleaseee!
Alika [10]

Answer:

B-reserved requirements

Explanation:

5 0
3 years ago
Read 2 more answers
Burger Buddies restaurant chain is attempting to bring back their fried fish sandwich. It is an
worty [1.4K]

The marketing firm need to focus their efforts on

product modification.

<h3>What is product modification</h3>

Product Modification includes changes that are done on an existing product to make it more acceptable.

This could include branding, changing the quantity and colour to help increase the demand.

Therefore, The marketing firm need to focus their efforts on product modification.

Learn more on marketing here,

brainly.com/question/25369230

#SPJ1

7 0
2 years ago
Read 2 more answers
Other questions:
  • The Federal Reserve Board, under the direction of Janet Yellen, is keeping interest rates at amazingly low levels. What are the
    7·1 answer
  • A young man is the beneficiary of a huge trust fund 35 years ago. If they had set aside $25,000, how much will be in the trust n
    7·1 answer
  • When a customer purchases merchandise inventory from a business organization, she may be given a discount which is designed to i
    14·1 answer
  • A Metro City ordinance imposes a jail term, without a trial, on all vendors who operate in certain areas. A court would likely r
    15·1 answer
  • Capital budgeting decisions are risky because the outcome is uncertain, large amounts are usually involved, the investment invol
    15·1 answer
  • Interactive learners learn best by___
    5·1 answer
  • What is interest rate and business decision?​
    5·2 answers
  • Plz click the photo and help me multi choicee ​
    5·2 answers
  • Gregory visited a prospect for the first time this morning, chatted a while with
    10·2 answers
  • The business cycle affects output and employment in capital and durable goods industries more severely than in industries produc
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!