logo

Crowdly

Donada la següent funció: int Suma(int n){  int sum =0, compt = 0;  while (n !=0...

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

Donada la següent funció:

int Suma(int n){

 int sum =0, compt = 0;

 while (n !=0){

  compt++;

  if (compt%2 == 0){ sum = sum + n%10;

n = n/10;

         }

 }

 return sum;

}

Quines de les següents afirmacions són certes

More questions like this

Want instant access to all verified answers on atenea.upc.edu?

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