You have given an array without using sort function you need you print second maximum prime number.
Utilisateur anonyme
Apply apply bubble sort for sort it. After that check it is a prime then add to a list and return sorted second maximum list element.