c-first-steps

a C playground
Index Commits Files Refs README
commit 1bca572d32b2d5f68b1df9f94abcc2ec913553d4
parent 86664e3dfb3f8dc5328014473591e991de8d72ca
Author: Martin J. Klöckner <64109770+klewer-martin@users.noreply.github.com>
Date:   Tue, 27 Oct 2020 08:53:41 -0300

Update factorial.c
Diffstat:
Mfactorial.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/factorial.c b/factorial.c
@@ -6,11 +6,11 @@ int main(void) {
     
     int fact, i, res;
 
-    printf("Ingrese un numero: ");
+    printf("Enter a number: ");
     scanf("%i", &fact);            // future update, delete this unsecure function 
 
     if(fact < 0) {
-        printf("Numero invalido\n");
+        printf("Enter a valid number!\n");
         return 1;
     }