I am new at programming and got an assignment that is due tomorrow. I have to develop a program that calculates pay and bonus for three sets of workers. HELP!!!
babyd_
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you have so far?
Jump to PostThe Member Rules state "Do not post threads with generic subjects such as "HELP ME" or "PROBLEM". Instead, clearly state a phrase describing the problem as the thread's title." Please post proper titles next time.
Also, we aren't psychic. How can we possibly figure out what help you need with …
Jump to PostOk. What does your code look like, that's the assignment.
Jump to Post
if(IdNum7000-7999)
can be expressed asif(IdNum >=7000 && IdNum <=7999)
but should probably be an else if as it stands it will only pair with the else below it. Also, if you have multiple statements on else you need {} around the group of statements.Also, please enclose …
Jump to PostThis syntax is incorrect:
NIS,NHT,EDTX,PEN,INTX:=0
They can all be set equal to each other and the final one to zero, e.g.,NIS = NHT =EDTX = 0;
.Get rid of lines 3-13 in your code. Try to only declare your variables in main.
Your values are not …
All 20 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
babyd_
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.