Answer:
870 people attend the school.
Explanation:
Given:
Thad conducted a survey on hair color at his school.
His results were:
23 students had blonde hair, 38 students had black hair, 7 students had red hair and 19 students had brown hair.
Now, to find number of people attended school if he had sampled 1 out of every 10 students.
So, we add the total number of students who had been surveyed on hair color:

Then, we get the percentage of the sample of 1 out of 10 students:

Thus, we get that 10% of students surveyed from the total who attend the school.
Now, to get the number of people who attend school we set an equation:
Let the people attend the school be
.
So,

⇒

⇒

Multiplying both sides by 100 we get:
⇒

Dividing both sides by 10 we get:
⇒

Therefore, 870 people attend the school.