DEV_BUT1/DEV1.1S/CM/exo1.c
2023-02-08 11:18:16 +01:00

18 lines
320 B
C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fonction.h>
int main(int argc, char *argv[]){
double tab[10];
int i;
for(i=1; i<argc; i++){
tab[i-1] = strtod(argv[i], NULL);
printf("%lf\n", tab[i-1]);
}
int a = valnull(tab , argc);
printf("%d", a-1);
printf("valeurs nulles")
return 0;
}