c-first-steps

a C playground
Index Commits Files Refs README
commit 568a4c169c2b73b0e266546a2a976292c961a349
parent d997d509e67a222685efcd992efcbcecf492ebb2
Author: Martin J. Klöckner <64109770+klewer-martin@users.noreply.github.com>
Date:   Thu, 26 Nov 2020 00:02:33 -0300

Update ex18.c

Corrected a little error in a comment
Diffstat:
M95.11/guia03/ex18.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/95.11/guia03/ex18.c b/95.11/guia03/ex18.c
@@ -20,8 +20,8 @@ int main ( void ) {
         if(isupper(str[i]))
             str[i] = tolower(str[i]);
 
-//    If the readed string it's a sentence erases all
-//    the blank spaces, between the words;
+//    If the readed string it's a sentence, erases all
+//    the blank spaces between the words;
     for(i = 0; str[i] != '\0'; i++) {
         if(str[i] == ' ') {
             aux = i;