Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWaitForSingleobject vs SetTimer Pin
rp_suman27-May-08 15:40
rp_suman27-May-08 15:40 
AnswerRe: WaitForSingleobject vs SetTimer Pin
David Crow27-May-08 16:01
David Crow27-May-08 16:01 
QuestionRe: WaitForSingleobject vs SetTimer Pin
rp_suman27-May-08 17:12
rp_suman27-May-08 17:12 
AnswerRe: WaitForSingleobject vs SetTimer Pin
SandipG 27-May-08 18:35
SandipG 27-May-08 18:35 
GeneralRe: WaitForSingleobject vs SetTimer Pin
rp_suman27-May-08 20:55
rp_suman27-May-08 20:55 
AnswerRe: WaitForSingleobject vs SetTimer Pin
Nelek27-May-08 22:02
protectorNelek27-May-08 22:02 
GeneralRe: WaitForSingleobject vs SetTimer Pin
rp_suman28-May-08 4:05
rp_suman28-May-08 4:05 
Questionemployee pay calculator Pin
Pathetic27-May-08 15:28
Pathetic27-May-08 15:28 
I am taking an independent study course (ISP) and so far i have no clue what i am doing. i have managed to scrounge up some pathetic codes that havent worked sofar, and i was told that if my last 2 do not work, i fail, and i have an exam, and its all due friday. I Have read the the book at least 6 times, and still i have no idea how to make a program. So i am going to ask for serious help.

i have to write a program that will determine an employee's net pay based on the following info.
employee is being paid 10.50 dollars an hour for the first 40 hours
he recieves time and a half for the first 5 hours over 40 hours
he recieves double pay for hours over 45 hours
he is taxed at a rate of 31%
he pays 1.9% canada pension plan
.4% union dues is also payed.
apparently the program read as input the number of hours the employee has worked. the output screen should display gross pay, amount going into taxes, and the net income for the week

example output supplied:

hours worked 42.00

Regular pay 240.00
Overtime pay 31.50
---------------------
Total Gross Pay 451.50

deductions
taxes 139.96
cpp 10.84
ei 8.58
Union dues 1.81
---------------------
Net Pay 290.31



Yes it is directly from the book. I am trying to be super specific. I dont want anyone to like, write out the code for me, because its against the rules im pretty sure, and i learn nothing from it. I just would appreciate a guide on how to actually figure this out, so i can do the exam, and lesson 2 from this module. And I know, it sounds very demanding. but this is like, i fail i owe the school 200 dollars for the ISP.

:I

AnswerRe: employee pay calculator Pin
David Crow27-May-08 16:04
David Crow27-May-08 16:04 
GeneralRe: employee pay calculator Pin
Pathetic28-May-08 12:19
Pathetic28-May-08 12:19 
AnswerRe: employee pay calculator Pin
ShilpiP27-May-08 19:56
ShilpiP27-May-08 19:56 
GeneralRe: employee pay calculator Pin
Pathetic28-May-08 12:17
Pathetic28-May-08 12:17 
GeneralRe: employee pay calculator Pin
ShilpiP28-May-08 20:46
ShilpiP28-May-08 20:46 
AnswerRe: employee pay calculator Pin
Nelek27-May-08 21:55
protectorNelek27-May-08 21:55 
GeneralRe: employee pay calculator Pin
gbeez28-May-08 11:21
gbeez28-May-08 11:21 
GeneralTe: employee pay calculator Pin
Pathetic28-May-08 12:04
Pathetic28-May-08 12:04 
GeneralRe: Te: employee pay calculator Pin
gbeez29-May-08 4:14
gbeez29-May-08 4:14 
GeneralRe: employee pay calculator Pin
Nelek1-Jun-08 7:43
protectorNelek1-Jun-08 7:43 
GeneralRe: employee pay calculator Pin
gbeez3-Jun-08 4:53
gbeez3-Jun-08 4:53 
GeneralRe: employee pay calculator Pin
Pathetic3-Jun-08 14:03
Pathetic3-Jun-08 14:03 
GeneralRe: employee pay calculator Pin
Nelek3-Jun-08 21:34
protectorNelek3-Jun-08 21:34 
GeneralRe: employee pay calculator [modified] Pin
Pathetic28-May-08 12:07
Pathetic28-May-08 12:07 
GeneralRe: employee pay calculator Pin
Nelek1-Jun-08 7:38
protectorNelek1-Jun-08 7:38 
GeneralRe: employee pay calculator [modified] Pin
Pathetic28-May-08 12:29
Pathetic28-May-08 12:29 
GeneralRe: employee pay calculator Pin
Nelek1-Jun-08 7:28
protectorNelek1-Jun-08 7:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.