31-03-19, 09:20 PM
ان شاء الله فهمت عليك
float a = price - discount;
float b = quantity * a;
float c = b * taxlevel;
tax = c;
if (taxlevel == 0) totao = b;
else totao = b + tax;
float a = price - discount;
float b = quantity * a;
float c = b * taxlevel;
tax = c;
if (taxlevel == 0) totao = b;
else totao = b + tax;
