HW 9

You might also like

You are on page 1of 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