logo

Crowdly

Kas bus atspausdinta ekrane? #include<stdio.h> int F1(int a) {   if (a%2...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Kas bus atspausdinta ekrane?

#include<stdio.h>

int F1(int a)

{

  if (a%2==0) return 1;

  return 0;

}

int main()

{

  int A[9]={1,2,3,4,5,6,7,8,9};

  int s(0);

  for (int i=0;i<9;i++) s+=F1(A[i]);

  printf("%d\n",s);

return 0;

}

More questions like this

Want instant access to all verified answers on moodle.vilniustech.lt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!