logo

Crowdly

Browser

Add to Chrome

Quin serà el contingut de la variable acum després d'executar el següent tros ...

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

Quin serà el contingut de la variable acum després d'executar el següent tros de codi?

const DIM <- 5; fconst

var

    t3: taula [DIM] d'enters <- {1,2,3,4,5}

    i, acum: enter

fvar

inici

   acum <- 0

   per i <- 1 fins DIM-1  fer

       acum <- acum + t3[i]

   fper

   ...

50%
0%
0%
50%
0%
More questions like this

Want instant access to all verified answers on campusvirtual.urv.cat?

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

Browser

Add to Chrome