in reply to Find average for time(Hr:Min:Sec)

You have an answer above, but for future reference, please read On asking for help and How do I post a question effectively?.

Briefly, the Monastery is a place to get help on your own efforts; to learn; NOT to ask others to write your code.