turn the following into indirect speech
The teacher said to the boys.,"If you work regularly you will never fail in the examination."
The required sentence is:
The teacher advised to the boys that if they worked regularly, they would never fail in the examination.