Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Code Block
number surcharge = 2.50;
number rebate = 1.00;
number discount = 10;
number total = 10;

total = total + surcharge;
total = total - discountrebate;
total += total - (total * .05;(discount/100));

return total;