20 lines
344 B
C
20 lines
344 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
int T[10];
|
|
int i=0;
|
|
int somme = 0;
|
|
//scanf("%d %d %d %d %d %d %d %d %d %d",&i,&i,&i,&i,&i,&i,&i,&i,&i,&i);
|
|
//
|
|
for (i=0;i<=9;i=i+1){
|
|
scanf("%d ",&T[i]);
|
|
}
|
|
for (i=0;i<=9;i=i+1){
|
|
if (T[i] == 0){
|
|
somme=somme+1;
|
|
}
|
|
}
|
|
printf("La somme des 0 est %d\n",somme);
|
|
return(0);
|
|
}
|