In a class, 1/5 of the children come to school by car. 6 more children come to school by bus than by car. The remaining 12 children walk to school. What fraction of the children walk to school?

Let's start by using algebra to solve this problem.

Let's call the total number of children in the class "x".

We know that 1/5 of the children come to school by car, so we can set up the equation:

1/5x = number of children who come to school by car

We also know that 6 more children come to school by bus than by car, so we can set up another equation:

(number of children who come to school by car) + 6 = number of children who come to school by bus

Finally, we know that the remaining 12 children walk to school, so we can set up one more equation:

(number of children who come to school by car) + (number of children who come to school by bus) + 12 = x

Now we can use algebra to solve for x:

1/5x + (1/5x + 6) + 12 = x

Multiply both sides by 5 to get rid of the fractions:

x + x + 30 = 5x

Simplify:

2x + 30 = 5x

Subtract 2x from both sides:

30 = 3x

Divide both sides by 3:

x = 10

So there are 10 children in the class.

We know that 1/5 of them come to school by car, which is 2 children.

We also know that 6 more children come to school by bus, which means 8 children come to school by bus.

That means the remaining 10 - 2 - 8 = 0 children walk to school.

So the fraction of children who walk to school is 0/10, which simplifies to 0.

Therefore, none of the children in the class walk to school.