From: Alexandre P Francisco Date: Tue, 23 Feb 2016 12:02:25 +0000 (+0000) Subject: Fix aula02/ex11. X-Git-Url: http://web.ist.utl.pt/aplf/git/?a=commitdiff_plain;h=4a34ab3362b8fc168b5a072e0aba9f2fa083b8cc;p=iaed.git Fix aula02/ex11. --- diff --git a/aula02/ex11.c b/aula02/ex11.c index 5218c30..9dc219a 100644 --- a/aula02/ex11.c +++ b/aula02/ex11.c @@ -12,9 +12,9 @@ int main () while ((c = getchar()) != EOF) { if (c >= 'a' && c<='z') - maiusculas++; - else if (c >= 'A' && c<='Z') minusculas++; + else if (c >= 'A' && c<='Z') + maiusculas++; else if (c >= '0' && c<='9') algarismos++; else