In which sentence does the subject agree with the verb

1. The dog barks loudly.

2. The dogs barks loudly.
3. The dogs bark loudly.
4. The dog bark loudly.

The subject agrees with the verb in sentence 1 and sentence 3.

To determine if the subject agrees with the verb in a sentence, you need to check if they have the same number. Here are a few examples:

1. The dog barks. (singular subject "dog" agrees with singular verb "barks")
2. The dogs bark. (plural subject "dogs" agrees with plural verb "bark")
3. He eats apples. (singular subject "He" agrees with singular verb "eats")
4. They eat apples. (plural subject "They" agrees with plural verb "eat")

In each of these sentences, the subject and verb agree in terms of number (singular or plural).