Hi,
I wonder if anyone can help me. I am creating a program in Borland C++
Builder. I want to do the following...
A variable, TotalTax, calculates the tax for an employee. I need to
also keep a running total for "n" employees. So i need a piece of code
to add the next value of TotalTax to the current value.
I have tried the following code;
TotalTax = TotalTax + TotalTax1 (where totaltax1 is the new value )
but it just keeps doubling the value in the original.
Does anyone know an easier way to do this, bearing in mind I have four
IF statements to determine what tax the employee has to pay!
thanks in advance