0% found this document useful (0 votes)
256 views2 pages

HW 9

The function finds failing grades in an array of student grades and names, calculates the average grade and finds the maximal grade. It returns the names of failing students, the average grade and maximal grade. The example output shows 3 students failed with an average of 70 and maximum grade of 99.

Uploaded by

punkygirl_1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
256 views2 pages

HW 9

The function finds failing grades in an array of student grades and names, calculates the average grade and finds the maximal grade. It returns the names of failing students, the average grade and maximal grade. The example output shows 3 students failed with an average of 70 and maximum grade of 99.

Uploaded by

punkygirl_1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

'9

: .1

: . int find_failures(int grades[], char *names[], int number_of_students,char *failed[],double *average, int *maximal) - ,names grades 0 <= j < number_of_students , grades[j] , . names[j] . .60( char * . (. . (average) . (maximal) . . ' .( 101 6) : , (. ) : ) .( names ) : ) faild ) .2 .3 .4 . .1

: Yossi 59 Chedva 94 Rivka 46 Ran 99 Amir 43 Zohar 79 : Average grade is 70, Maximal grade is 99, 3 students failed: Yossi, Rivka, Amir
for (j=0 ; j<NUM_STU ; j++) *failed[j]=NULL;

2.
: . int check_case(char *str, char *wrongCase[]) . )','( )'.'( , (, ) str : , . " , . : . wrongCase : str . wrongCase .1 . .2 . trs ! , composeed .3 str , " ][ .4 wrongCase . ][ . ( ) . '. " , , . ) '\n' .) : : we are going to play basketball tonight. Yes, indeed there is a limited sight.low height. but what a fight. Hold me tight. : we are going to play basketball tonight low height but what a fight

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy