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
McKinney Corporation had beginning retained earnings of $2,242,000 and ending retained earnings of $2,499,000. During the year t
miv72 [106K]

Answer:

Net income for the year = $257,000

Explanation:

Retained earnings for the year= Net income - dividends paid.

Since no dividends were paid, retained earnings for the year = net income for the year. At the end of each accounting period, retained earnings are reported on the balance sheet, and the retained profits for the year are added to the beginning balance of retained earnings, to give a cumulative ending balance of  $2,499,000.

therefore retained earnings for the year = ending retained earnings balance  - beginning retained earnings balance = $2,499,000.-$2,242,000= $257,000.

Net income for the year is  thus =  $257,000 since no dividends were paid.

6 0
4 years ago
A fleet of refrigerated delivery trucks is acquired on January 5, 2017, at a cost of $900,000 with an estimated useful life of 1
gavmur [86]

Answer:

depreciation expense 2017 = $180,000

depreciation expense 2018 = $144,000

depreciation expense 2019 = $115,200

Explanation:

purchase cost $900,000

estimated useful life 10 years

depreciation expense using double declining method = 2 x regular straight method depreciation rate x purchase cost

depreciation expense 2017 = 2 x 1/10 x $900,000 = $180,000

depreciation expense 2018 = 2 x 1/10 x $720,000 = $144,000

depreciation expense 2019 = 2 x 1/10 x $576,000 = $115,200

8 0
4 years ago
Baxley Brothers has a DSO of 17 days, and its annual sales are $6,570,000. What is its accounts receivable balance? Assume that
Anna71 [15]

Answer:

Accounts receivable balance=$306,000.

Explanation:

Given Data:

DSO=17 days

Annual sales=$6,570,000

Number of days in year=365 days

Required:

Accounts receivable balance=?

Solution:

DSO=\frac{Account\s receivable}{Average\ Sales\ Per\ Day}

Average sales per day:

Average\ sales\ Per\ day=\frac{Annual\ Sales}{Days\ In\ year}\\ Average\ sales\ Per\ day=\frac{\$6,570,000}{365}\\ Average\ sales\ Per\ day=\$18,000

Calculating account receivable:

Account\ receivable=DSO*Average\ sales\ Per\ day\\Account\ receivable=17*\$18,000\\Account\ receivable=\$306,000

Accounts receivable balance=$306,000.

6 0
3 years ago
Income Statement (in Millions of Dollars) Net sales $100.0 Cost of sales 60.0 Selling, general, and administrative expenses 20.0
frez [133]

Answer:

the balance sheet is missing:

Balance Sheet  (In millions of Dollars)

ASSETS

Cash                                     $6.0

Accounts Receivable              14.0

Average Inventory                   12.0

Fixed Assets, net                  40.0

TOTAL ASSETS                 $72.0

LIABILITIES AND EQUITY

Accounts Payable                $10.0

Salaries and Benefits Payable   2.0

Other current Liabilities            10.0

Long-term debt                         12.0

Equity                                     38.0

TOTAL LIABILITIES AND EQUITY                     $72.0

a. Determine the length of the inventory conversion period.

  • inventory conversion period = average inventory / (COGS/365) = 73 days

b. Determine the length of the receivables conversion period.

  • receivables conversion period = accounts receivables / (net sales/365) = 51.1 days

c. Determine the length of the operating cycle.

  • length of operating cycle = 73 + 51.1 = 124.1 days

d. Determine the length of the payables deferral period.

  • length of the payables deferral period = accounts payables / (COGS/365) = 60.83 days

e. Determine the length of the cash conversion cycle.

  • cash conversion cycle = 73 + 51.1 - 60.83 = 63.27 days

f. What is the meaning of the number you calculated in Part e?

  • How long does it take to turn inventories into cash, it is a measure of asset liquidity.
8 0
3 years ago
Fletcher Company collected the following data regarding production of one of its products. Compute the total direct materials co
pickupchik [31]

Answer:

Option (B) $3,570 unfavorable

Explanation:

Data provided in the question:

Direct materials standard (6 lbs. @ $2/lb.) =  $ 12 per finished unit

Actual direct materials used = 243,000 lbs.

Actual finished units produced = 40,000 units

Actual cost of direct materials used = $483,570

Now,

Total direct materials variance

= Budgeted cost of direct material - Actual cost of direct materials used

= ( 40,000 × $12 ) - $483,570

= $480,000- $483,570

= - $3,570

The negative value depicts Unfavorable

Hence,

Option (B) $3,570 unfavorable

5 0
3 years ago
Other questions:
  • Which of the following demonstrates the law of demand? a. After Jon got a raise at work, he bought more pretzels at $1.50 per pr
    6·1 answer
  • John jacobs, astrophysicist, claims that earthquakes can be predicted. this is an example of
    6·2 answers
  • A firm that backward vertically integrates A. may be producing its own inputs. B. moves downstream in the production process. C.
    15·1 answer
  • Every state has a single coordinating structure which is modeled after the FEMA structures.
    7·1 answer
  • Ryan is the manager of home repairs inc., a company that provides a wide range of repair and maintenance services. he claims tha
    11·1 answer
  • Say that you have invented a new snack food product and would like to market it to college students. What are some of the advert
    10·1 answer
  • 7) The capital asset pricing model: (a) Provides a risk return trade off in which risk is measured in terms of beta (b) Measures
    10·1 answer
  • Consider the single factor APT. Portfolio A has a beta of 1.7 and an expected return of 19%. Portfolio B has a beta of .6 and an
    15·1 answer
  • Presented below are three revenue recognition situations. (a) Groupo sells goods to MTN for $920,000, payment due at delivery. (
    10·1 answer
  • Assigning the perceived attributes of a group to individuals belonging to that group is referred to as?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!