Skip to end of banner
Go to start of banner

Arithmetic Example 1

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

number surcharge = 2.50;
number rebate = 1.00;
number discount = 10;
number total = 10;

total = total + surcharge;
total = total - rebate;
total = total - (total * (discount/100));

return total;
  • No labels