From f477e7c79e8bc4e469a14a1fc571b0db0a7485d0 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 14:56:53 +0100 Subject: [PATCH] ASD --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 356d699..9b5cf99 100644 --- a/du3/program.c +++ b/du3/program.c @@ -6,7 +6,7 @@ int main(){ int result; int vxod[99]; for(int i = 0; i < 10; i++){ - scanf("%d" *c); + c = fgets(); if(c != 1) break; vxod[i] = c;