|
-
Oct 23rd, 2002, 04:18 PM
#4
In the if statements, not in the blocks:
Code:
else if (intSetPieces = 200 /* wrong */ || intSetPieces <= 399)
{
dblPay = .55D; // ok
}
Oh, btw you should use logical and (&&) not or (||) in the first if, else it catches everything (every number is greater 0 or less than 199).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|