virginia corporation is a calendar year corporation at the beginning of 2017 its election to be taxed as an s corporation became effective virginia corp s b/

In 2017, Virginia reported business income of $50,000 (this would have been its taxable income if it were still a C corporation). What is Virginia’s built-in gains tax in each of the following alternative scenarios?
a. During 2017, Virginia sold inventory it owned at the beginning of the year for $100,000. The basis of the inventory sold was $55,000.
b. Assume the same facts as (a) except Virginia had a net operating loss carryover of $24,000 from its time as a C corporation.
c. Assume that same facts as (a) except that if Virginia were a C corporation, its taxable income would have been $1,500.