Thank you for the opportunity to help you with your question!

Thank you for the opportunity to help you with your question!

First the programe tries to evaluate whether t is average by first checking whether is equal to what is stored in array stud i and if it is equal it goes further and evaluate whether array stud i is equal to array stud j

Thus t results is equal to arry stud j and thus they have been able to know t is average

Please let me know if you need any clarification. I'm always happy to answer your questions.Please let me know if you need any clarification. I'm always happy to answer your questions.