From 70ecbcac8456e5c993a55272b32b7b7c458208b1 Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Tue, 6 Apr 2021 14:55:09 +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'du5/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/program.c b/du5/program.c index 8e8b2c2..ff66f2d 100644 --- a/du5/program.c +++ b/du5/program.c @@ -63,8 +63,8 @@ int main() { counter = 0; memset(number1, '\0', 25); memset(name, '\0', 25); - if (symbol == '\n') break; symbol = inputs[i][counter++]; + if(symbol == '\n') break; while(symbol != '\0' && symbol != '\n'){ if(isspace(symbol) && isdigit(inputs[i][counter-2])) symbol = inputs[i][counter++];