How do you say

He had eaten vegetables for three months and felt much better.

..in Chinese?

他已經吃了三個月的蔬菜,感覺身體好多了。

tā yǐ jīng chī le sān gè yuè de shū cài , gǎn jué shēn tǐ hǎo duō le 。

How do you say "She has learned a lot from three months of online courses." in Chinese?