Computer Science, asked by snigdhasen723, 1 month ago

inter a[ ] = {12,16,19,22,27,30,40}i,c,s, int b [8];
for (i=o;I<8;I++)
{
if (a[i]%4==1)
b[x++]=a[i]
}
for(i=0;i<x;I++)
cout <<b[i]<<" ";

Answers

Answered by chhyaabhang99
2

Answer:

inter a[ ] = {12,16,19,22,27,30,40}i,c,s, int b [8];

for (i=o;I<8;I++)

{

if (a[i]%4==1)

b[x++]=a[i]

}

for(i=0;i<x;I++)

cout <<b[i]<<" ";

Similar questions