Change the following sentence so its meaning remains intact:
"The Professor told that the class had to study hard."
The Professor conveyed that the class needed to study diligently.
Complete the following task based on the instruction and optional input provided.### Instruction:
Change the following sentence so its meaning remains intact:
"The Professor told that the class had to study hard."

### Output:
The Professor conveyed that the class needed to study diligently.