This commit is contained in:
Tanguy MAZE
2019-06-22 18:23:35 +02:00
commit f9e508d5ef
173 changed files with 6727 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Assignment name : max
Expected files : max.c
Allowed functions:
--------------------------------------------------------------------------------
Write the following function:
int max(int* tab, unsigned int len);
The first parameter is an array of int, the second is the number of elements in
the array.
The function returns the largest number found in the array.
If the array is empty, the function returns 0.

View File

@@ -0,0 +1,15 @@
Assignment name : max
Expected files : max.c
Allowed functions:
--------------------------------------------------------------------------------
Écrire la fonction suivante:
int max(int *tab, unsigned int len);
Le premier paramètre est un tableau d'int, le deuxième est le nombre d'éléments
contenus dans ce tableau.
La fonction renvoie le plus grand nombre trouvé dans le tableau.
Si le tableau est vide, la fonction renvoie 0.

View File

@@ -0,0 +1,15 @@
Exercitiu : max
Fisiere de iesire : max.c
Functii autorizate :
--------------------------------------------------------------------------------
Scrieti functia urmatoare:
int max(int* tab, unsigned int len);
Primul parametru este un tablou de intregi, al doile este numarul de elemente
continute in tablou.
Functia trebuie sa returmeze cel mai mare numar gasit in tablou.
Daca tabloul este vid, functia va returna 0.