There are 40 students in a class. There are 4 more boys than girls. How many girls are in the class?

Let the number of girls be x

Then boys = x+4
Total number of students= 40= x+x+4

2x+4=40
2x= 36
x= 18
number of girls= 18

Actually I am wrong, Praphul is right.

NUMBER OF GIRLS= 18

To find the number of girls in the class, we need to set up an equation based on the given information. Let's denote the number of girls in the class as 'G' and the number of boys as 'B.'

According to the problem, there are 4 more boys than girls. So, the number of boys can be written as G + 4.

Since the total number of students in the class is 40, we can write the equation as:

G + (G + 4) = 40

Now, we can solve this equation to find the number of girls.

Combining like terms, the equation becomes:

2G + 4 = 40

Subtracting 4 from both sides of the equation:

2G = 36

Finally, dividing both sides of the equation by 2:

G = 18

Therefore, there are 18 girls in the class.

40 divided by 2 equals 20

20+4=24
24=boys
40-24=[16]

NUMBER OF GIRLS= 16