PwC interview question

How is a WACC calculated?