My salary is $2,000, I am of Armenian descent and am 31 years old.
However my friend, is of German descent and is 26 but he earns $8,000.
I think this is blatant discrimination but can you guys find me a logical way that such could occur?
Bonus questions, these contain spoilers for the main problem, and therefore should not be solved before it.
Find the ideal person (who is still over 18) that could minimize and maximize the salary.
Edit: Since this question is now moot I will just provide the answer but keep it in a spoiler.
It is based on the country's age and the employee's age. So Armenia became independent in 1991, which is 33 years to this day, and I am 31, which gives 2, so 2,000 bucks. West and East Germany unified to form Germany on 1990, gives the age of 34 and my friend is 26, which leaves 8 years, to 8,000 bucks.