Færdiggjort

Simple Program

You are to modify one of my programs by creating the following functions: void GetInput (ifstream &inputFile, float &totalSales, int &hoursWorked, int &numDependents); void PrintHeading (ofstream &outputFile); float CalculateGrossPayA(float totalSales, int hoursWorked); float CalculateGrossPayB(float totalSales); float CalculateSocialSecurity (float grossPay); float CalculateStateTax (float grossPay); float CalculateFedTax(float grossPay); float CalculateHealthIns(int numDependents); float CalculateNetPay(float grossPay, float socialSecurity, float stateIncomeTax, float fedIncomeTax, float healthInsuranceCost, float unionDues); void PrintPayAndDeductions (ofstream &outputFile, float grossPay, float socialSecurity, float stateIncomeTax, float fedIncomeTax, float healthInsuranceCost, float unionDues, float netPay); There are two plans in this program. Plan A uses a commission rate of 10 % but the hourly rate is now $9.50. Plan B uses a commission rate of 30%. State Taxes are 7.5 of gross pay. All the other deductions should not be changed. The body of main() should consist mainly of series of function calls. Be sure to include a short comment before each function definition describing what the function does. This program should be called [url removed, login to view] This program should read from an input file. The input file consists of the followeing. 1200.00 45 1 1200.00 40 1 1200.00 35 1 1875.50 35 2 1875.50 35 5 1875.50 45 3 2250.75 48 0 2250.75 40 4 2250.75 35 3 Be sure to include alot of comments and tell me what the algorithms are. This program should be written in C++, not C. I need this done ASAP!

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Visual C++

Evner: C programmering, Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning

Se mere: what is an algorithms, what is algorithms in programming, what is algorithms, what are algorithms in programming, what are algorithms, uses of algorithms, simple algorithms in c, programming definition, program algorithms, float programming, float c programming, definition of programming, cpp programming, algorithms-programs, algorithms programs, definition of asap, series programming in c, simple program, c hourly rate, by my definition

Om arbejdsgiveren:
( 17 bedømmelser ) United States

Projekt ID: #3211803

Tildelt til:

olegatorvw

See private message.

$7 USD in 14 dage
(2 bedømmelser)
0.6

13 freelancere byder i gennemsnit $16 på dette job

regardsol

See private message.

$7.65 USD in 14 dage
(92 bedømmelser)
6.2
SUog

See private message.

$12.75 USD in 14 dage
(104 bedømmelser)
5.9
HaroldHardy

See private message.

$12.75 USD in 14 dage
(89 bedømmelser)
5.8
unamigo

See private message.

$21.25 USD in 14 dage
(51 bedømmelser)
5.3
sofivabiz

See private message.

$29.75 USD in 14 dage
(6 bedømmelser)
3.6
patrica

See private message.

$16.15 USD in 14 dage
(19 bedømmelser)
3.2
codescripter

See private message.

$12.75 USD in 14 dage
(10 bedømmelser)
2.8
malignious

See private message.

$25.5 USD in 14 dage
(7 bedømmelser)
2.4
mkkktd

See private message.

$11.05 USD in 14 dage
(3 bedømmelser)
1.2
herculesvw

See private message.

$11.05 USD in 14 dage
(4 bedømmelser)
1.0
hoodavw

See private message.

$15.3 USD in 14 dage
(1 bedømmelse)
0.2
luvnsv

See private message.

$25.5 USD in 14 dage
(0 bedømmelser)
0.0