Computer Science, asked by smiley2376, 5 months ago

what will be the avg value..?


int sum,index,avg;
index=0,sum=0;
for( ; ; )
{
sum=sum+index;
++index;
if(sum>=100)
break;
}
avg=sum/index;
printf("%d",avg);


Answers

Answered by vansh170305
0

Answer:

169

Explanation:

hope this help......

Similar questions