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.");