Let the original cost be $$x$$
Discount $$= 10%$$
$$= \frac{10}{100}\times x = 0.10x$$
Therefore, the discounted price
$$= x -0.10x = 0.90x$$
Given that the discount price is $$306$$
According to the question
$$0.90x =306$$
$$x =\frac{306}{0.90}$$
$$x = 340$$
Therefore, the original price of the flute was $$\bf340.$$