Use ' when' ,'as' or 'while' to complete the sentences.
f. ------ Ashamed was travelling home, he heard that he had passed all his exams.
While Ashmed was travelling home, as he heard that when he had passed his exam
Regards :-) have a nice day
Regards :-) have a nice day