From 611e34ea26698abd8d829a8f11d31794b388817e Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Fri, 16 Apr 2021 11:22:02 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'du6/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du6/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du6/program.c b/du6/program.c index 48a62b6..097d66a 100644 --- a/du6/program.c +++ b/du6/program.c @@ -14,7 +14,7 @@ int main() { for(int i = 0; fgets(inputs[i], 50, stdin) != NULL; i++){ if(i == 0){ - inputs[i][strlen(inputs[i])-1] = '\0' + inputs[i][strlen(inputs[i])-1] = '\0'; for(int j = 0; j < strlen(inputs[i]); j++){ if(!isdigit(inputs[i][j])){ printf("Nespravny vstup\n");