The net book value of a truck at the beginning of the year is $30,000. During the year, the company recorded depreciation expense of $10,000 before it sold the truck for $15,000 in cash. Which of the following options correctly represents the net gain or loss on the sale of the truck?
A) $5,000
B) $10,000
C) $15,000
D) $20,000