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
grades ,names-
. , grades[j] , 0 <= j < number_of_students
].names[j
:
.1 ( .)06-
.failed ( * )char
( .)names
.
.2 ( ).
.3 ()average
.4 ()maximal
. .
. ,
, ( ).
: ( 0161 ,
).
:

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

.2
. :
)][int check_case(char *str, char *wrongCase
: str ( ) , , (' )'. (' )', .
- ,
" .
: . ,
wrongCase .
:
.1 wrongCase .str
.2 .
.
.3 decompose , !str
.4 [] " ,str
. [] .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