Legacy interview question

Salary compensation was asked third round