Select the correct option showing a better or another correct way of writing the given sentence.
My teacher said, "If you work hard, you will get good marks."
A
My teacher advised if I work hard I could get good marks.
B
My teacher advises if you work hard you will get good marks.
C
My teacher advises if I work hard I will get good marks.
D
My teacher advised that if I worked hard I would get good marks.
Correct Option:
D
Explanation
In reported speech, "work" changes to "worked", "will" changes to "would", and "you" changes to "I". The selected sentence correctly applies these changes.