When the weighted average cost method is used in a perpetual inventory system, a weighted average unit cost for each item is computed
a. each time a sale is made.
b. at the end of the year.
c. at the beginning of each month.
d. >each time a purchase is made.