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).