diff --git a/du1/program.c b/du1/program.c index b1c8617..2de3dc7 100644 --- a/du1/program.c +++ b/du1/program.c @@ -6,7 +6,8 @@ int main() { char word; - for (int count = 0; (word = getchar()) != EOF;) { + int count = 0 + for (; (word = getchar()) != EOF;) { if (word >= 'a'&&word <= 'z') { word -= 32; }