logo

Crowdly

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

✅ 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 && true ){

  compt++;

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

}

n = n/10;

 }

 return sum;

}

Tria totes les opcions correctes

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!