Answer:
To find the number of courts with doubles matches, we need to determine the total number of players playing doubles. If each court with a doubles match has 4 players, then the total number of players playing doubles would be 4 times the number of courts playing doubles.
Since there are 28 players in total, and each court with a singles match has 2 players, the number of players playing singles would be 28 - 4x, where x is the number of courts playing doubles.
Since each court with a singles match has 2 players, the number of courts playing singles would be 28/2 = 14.
So, 28 - 4x = 14, and solving for x, we get x = 7.
Therefore, there are 7 courts with doubles matches and 14 courts with singles matches.