logo

Crowdly

Kas bus atspausdinta ekrane? #include <stdio.h> int main() {   int A[10]...

✅ 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 main()

{

  int A[10][10], suma=0;

  A[0][0]=10; A[0][1]=20; A[0][2]=20;

  A[1][0]=30; A[1][1]=40; A[1][2]=40;

  A[2][0]=30; A[2][1]=40; A[2][2]=40;

  for (int i=0;i<2;i++)

  {

    suma+=A[i][i];

  }

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

  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!