18 lines
388 B
C
18 lines
388 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
int main(void) {
|
|
|
|
char mot[] = "Un ordinateur peut entre autre effectuer des taches "
|
|
"repetitives sans se lasser et sans se tromper, enfin..., si le "
|
|
"developpeur a bien fait son travail.";
|
|
int i = 0, length = strlen(mot);
|
|
|
|
while (mot[i] != ',' && i < length) {
|
|
i++;
|
|
}
|
|
|
|
printf("%i", i);
|
|
|
|
return 0;
|
|
}
|