From 800c6fe9e871d2b7cbc7dfc3b99e68a86965a899 Mon Sep 17 00:00:00 2001 From: Daniel Ryzhuk Date: Wed, 14 Oct 2020 16:58:55 +0000 Subject: [PATCH] Update 'cv3/program.c' --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 128512d..f0c64a6 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -20,7 +20,7 @@ int main(void) { char str[128] = { 0 }; char* tres = fgets(str, 128, stdin); if(tres == NULL || str[0] == 0 || (str[1] == 0 && str[0] == '\n')) - my_exit(1, "no_input"); + my_exit(1, "no input"); str[strlen(str) - 1] = 0; // if number if(strlen(str) > 1 || (str[0] >= '0' && str[0] <= '9')) {