HI, thanks for using healthcare magic
Acute onset of coughing, reduced appetite in children is usually related to a common cold
which is usually viral.
When the illness resolves, the appetite would improve but you can still supplement with a vitamin if you wish.
The medication that he is currently using would help to decrease his cough.
In general , these viral illnesses can last up to 2 weeks.
I hope this helps