logo

Crowdly

Що робить наступна програма з від'ємними числами? #include <stdio.h> int mai...

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

Що робить наступна програма з від'ємними числами?

#include <stdio.h>

int main()

{

int a,i,n,s; n=6; s=0;

for(i=0; i<n; i++)

{

scanf("%d",&a);

if(a<=0)

continue;

s+=a;

}

printf("сума = %d \n",s);

return 0;

}

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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