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)