From 10a924f4f06990066784c012fa8af248349d9baa Mon Sep 17 00:00:00 2001 From: Yurii Yakovenko Date: Sat, 23 Nov 2024 20:18:11 +0000 Subject: [PATCH] Update a4/program.c --- a4/program.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/a4/program.c b/a4/program.c index 9b4e020..011125d 100644 --- a/a4/program.c +++ b/a4/program.c @@ -19,14 +19,17 @@ int main() for(int i=0; ia[2*i+1]|| - 2*i+2a[2*i+2]) { - kupa =0; + kupa =0; break; } } if(kupa) + { printf("Je to taka kopa:"); + printf("%d", a[0]); + } else printf("Nie je kopa.");