What is the output of the following program?
# include stdio.h
int main()
{
int i,n, sum = 0;
for(i=1; i = 5; ++i)
{
printf("Enter a n%d: ",i);
scanf("%d",&n);
if(n 5)
{
continue;
}
sum += n;
}
printf("Sum = %d",sum);
return 0;
}

Posted on by