A store advertises that all sports equipment is 30% off the retail price. In addition, the store asks customers to select and pop a balloon to receive a coupon for an additional n percent off the already marked down price of one of their purchases. Write an expression that represents the cost of a pair of inline skates with a retail price p after receiving both discounts.

cost=markedprice(1-.3)(1-n*.01)

To calculate the cost of a pair of inline skates after applying both discounts, we can follow these steps:

1. Apply the first discount of 30% off the retail price. The price after this discount is (100-30)% of the retail price, which can be represented as (100-30)/100 * p.

2. We then need to apply the second discount of n% off the already discounted price. The price after this discount is (100-n)% of the price after the first discount, which can be represented as (100-n)/100 * [(100-30)/100 * p].

Combining both steps, the expression that represents the cost of a pair of inline skates after applying both discounts is:

[(100-n)/100 * (100-30)/100] * p

To calculate the cost of a pair of inline skates after both discounts, we need to subtract the discounts from the original retail price.

The first discount is 30% off the retail price, which means you will be paying 70% of the retail price.

So, the cost after the first discount is:
0.7 * p

Next, we have the additional discount from popping a balloon, which is n percent off the already marked down price. This discount is applied to the result of the first discount.

The cost after the second discount is:
(0.7 * p) - (n/100) * (0.7 * p)

Combining both discounts, we can express the cost of a pair of inline skates with a retail price p and the additional discount of n percent as:
(0.7 * p) - (n/100) * (0.7 * p)