Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int maiorMedia(Aluno a[], int n){
- int i=0;
- float maior=0;
- for(i=0;i<n;i++){
- if(media(a[i])>maior){ //*chama a função media feita anteriormente*//
- maior=media(a[i]);
- }
- }
- return maior;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement