From 5481cac9cd4978d79935d1cf096a838b477bcae5 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 16:04:23 +0100 Subject: [PATCH] SAD --- du3/program.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/du3/program.c b/du3/program.c index 802291e..ede02c8 100644 --- a/du3/program.c +++ b/du3/program.c @@ -5,6 +5,8 @@ int main(){ int vxod[999]; for(int i = 0; i < 2; i++){ scanf("%d", &c); + if(c == 4) + break; vxod[i] = c; } if(c == 4)