C
for i 0 i Num;i++)
{
NetRate[i]=BaseRate[i]*Rates->Discounts->Factors->Net
C
QuantityDiscounts=Rates->Discounts->Factors->Net;
for i 0 i Num;i++)
{
NetRate[i]=BaseRate[i]*QuantityDiscount
}
QuantityDiscount BaseRate
C 9.56 8.29 13%
C++ 8.51 8.40 1%
Pascal 10.44 10.33 1%
C
C
Found FALSE
i=0
while !found i ElementCount)
if Item[i]==TestValue