Free Practice Exercise 4

Copy and run the TRANSAC data set from the yellow box below.

The sales tax is 14.75%.

Create a new variable that computes the total after tax:

Total(After tax) = Total(Before tax) x 14.75%

Display the after-tax total at 2 decimal places.

Get Solution