✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
#include
int main(){
int a,i,n,s; n=6; s=0;
for(i=0; i
{
scanf("%d",&a);
if(a<=0)
continue;
s+=a;
}
printf("сума = %d
",s);
return 0;
}