Which of the following is grammatically CORRECT?
If it rain tomorrow, I have to water the plants.
Nobody listens while the teacher was explaining the lesson.
Lisa was cooking dinner while her husband drank a cup of coffee.
If Jimmy hadn't broken his leg, he would have participated in the contest.