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
kobusy [5.1K]
3 years ago
8

You are tasked with composing a program to compute the payroll earnings for the sales force at the Arctic Ice company. All sales

employees are on a straight commission basis of 12.5% of gross sales. The sales manager calculates the bonuses separately. Your program is needed to calculate the withholdings and deductions from the employee’s gross pay. Your program must calculate the federal and state withholdings (taxes) and also the retirement contribution of each employee
A. 25% Federal withholding
B. 10% State withholding
C. 8% Retirement plan
Salesperson Sales Bonus
1 53,500 425
2 41,00 300
3 56,800 350
4 36,200 175
Business
1 answer:
expeople1 [14]3 years ago
6 0

Answer:

Programming language: C

Code:

#include<stdio.h>

double fed_with(double total){ //declaring the functions

return 0.25*total;

}

double ste_with(double total){

return 0.1*total;

}

double ret_plan(double total){

return 0.08*total;

}

int main(){

double sales[4][2],total,fw,sw,rp; //variables to be used

int i,j;

for(i=0;i<4;i++){ //taking input loop

printf("Salesperson %d: (Sales + Bonus)\t", i+1);

scanf("%lf %lf",&sales[i][0],&sales[i][1]);

printf("\n");

}

for(i=0;i<4;i++){ //printing payroll loop

printf("Salesperson %d: Statement\n", i+1);

total = 0.125*sales[i][0]+sales[i][1];

printf("Sales + Bonus: %lf\n",sales[i][0]+sales[i][1]);

printf("Total: %lf\n",total);

fw=fed_with(total);

printf("Federal Withholding: %lf\n",fw);

sw=ste_with(total);

printf("State Withholding: %lf\n",sw);

rp=ret_plan(total);

printf("Retirement Plan: %lf\n",rp);

printf("Final: %lf\n",total-fw-sw-rp);

printf("\n");

}

 

return 0;

}

Explanation:

You might be interested in
The first step in process flowcharting is to__________ A. draw the flowchart. B. break the process down into blocks. C. assemble
stepladder [879]

Answer: D. Select an appropriate transformation process for analysis

Explanation: A flow chart also known as a flow diagram is a schematic representation of how the different stages in a process are interconnected in sequential order. flowchart is a picture of the separate steps of a process in sequential order. It can be adapted for a variety of purposes including manufacturing, administrative, services processes or project plans. The first step in flowcharting is to select the appropriate transformation process for analysis. This involves defining the processes to be diagrammed, discussing and deciding its boundaries or limits: where it would start, where it would end etc. to drawing several major blocks that represent the most important steps in the process.

5 0
3 years ago
On his birthday, Kamran receives $200 from his aunt, $50 of which he decides to save. He is taken out by his father for lunch. H
FromTheMoon [43]

Answer: D hope this helps :)

Explanation:

6 0
3 years ago
What is the value of a preferred stock that pays a perpetual dividend of $150 at the end of each year when the interest rate is
padilas [110]

Answer:

$2,143

Explanation:

The computation of the value of the preferred stock is shown below:

Value of the preferred stock = Cash flows with respect to perpetual dividend ÷ the rate of interest

= $150 ÷ 0.07

= $2,143

Simply we divided the rate of the interest by the cash flows so that the accurate value of the preferred stock can be computed

8 0
3 years ago
True or false: For financial analysis, financial statements and accounting numbers are more important than cash flows.
rusak2 [61]

Answer:

false

Explanation:

3 0
3 years ago
Under gaap, cash receipts from interest and dividends are classified as
zaharov [31]
<span>Under GAAP, cash receipts from interest and dividends are classified as operating activities. Operating activities are the main business activities for the company. The operating activities for the company are manufacturing, distributing, marketing and selling the product or service to consumers. </span>
7 0
3 years ago
Other questions:
  • White &amp; Checker is releasing a new power drill that requires the manufacturing of a new part.They are considering whether th
    6·1 answer
  • In what year did engineers complete the first programmable microprocessor?
    11·1 answer
  • The expectations theory implies that the only reason for a declining term structure is that investors expect spot interest rates
    8·1 answer
  • Accounting Employees view budgeting more positively when goals are established for them by senior management.
    5·1 answer
  • Carlos and Keisha have a monthly income of $25,000. They have monthly expenditures that total $30,000. What is TRUE about their
    15·1 answer
  • a. Find the duration of a 6% coupon bond making annual coupon payments if it has three years until maturity and has a yield to m
    10·1 answer
  • You left your work at home. how do you get your teacher to give you one more day, so you can git it.
    14·2 answers
  • What is work?
    7·2 answers
  • Higher cash flows earlier in a project's life are Blank______ valuable than higher cash flows later on.
    8·1 answer
  • 3. Which of the following is not a characteristic of a typical bank savings account?(1 point)
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!