Now let's do some math! JavaScript can handle calculations for you. Use * for multiplication, + for addition, and Math.round() for rounding.
subtotal that multiplies price by quantitytax that is 10% of the subtotal (multiply by 0.1)total that adds subtotal and taxroundedTotal using Math.round(total * 100) / 100 to keep 2 decimal placesSubmit your code to see test results