Explanation
He exclaimed that it was a very beautiful scenery.
In indirect speech, exclamatory sentences are converted using words like exclaimed with joy/surprise instead of direct exclamations.
The sentence structure changes while keeping the meaning intact.