From 8041851adfea8de0ab444448204f6d8a57186f60 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Sun, 27 Mar 2022 15:22:54 +0200 Subject: [PATCH] aaa --- du4/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du4/program.c b/du4/program.c index 0bbebde..afbf4d7 100644 --- a/du4/program.c +++ b/du4/program.c @@ -13,7 +13,7 @@ int main(){ count++; } ch=getchar(); - if(priklad[idx]!='\n'&&ch!='\n'){ + if(priklad[idx]=='\n'&&ch=='\n'){ break; } }